-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from pscedu/gnuplot-5.4.10
gnuplot 5.4.10
- Loading branch information
Showing
14 changed files
with
134 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM alpine:edge | ||
|
||
LABEL "MAINTAINER"="icaoberg" | ||
LABEL "EMAIL"="[email protected]" | ||
LABEL "SUPPORT"="[email protected]" | ||
LABEL "REPOSITORY"="http://github.com/pscedu/singularity-gnuplot" | ||
LABEL "COPYRIGHT"="Copyright © 2021-2023 Pittsburgh Supercomputing Center. All Rights Reserved." | ||
LABEL "VERSION"="5.4.10" | ||
|
||
RUN apk add --update gnuplot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Bootstrap: docker | ||
From: alpine:edge | ||
|
||
%labels | ||
AUTHOR icaoberg | ||
EMAIL [email protected] | ||
SUPPORT [email protected] | ||
WEBSITE http://github.com/icaoberg/singularity-gnuplot | ||
COPYRIGHT Copyright © 2021-2023 Pittsburgh Supercomputing Center. All Rights Reserved. | ||
VERSION 5.4-patch-level-10 | ||
|
||
%post | ||
apk add --update gnuplot | ||
|
||
%runscript | ||
gnuplot "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Copyright © 2021-2023 Pittsburgh Supercomputing Center. | ||
# All Rights Reserved. | ||
|
||
IMAGE=singularity-gnuplot-5.4.10.sif | ||
DEFINITION=Singularity | ||
|
||
if [ -f $IMAGE ]; then | ||
rm -fv $IMAGE | ||
fi | ||
|
||
sudo singularity build $IMAGE $DEFINITION | ||
|
||
if [ -f $IMAGE ]; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Copyright © 2021-2023 Pittsburgh Supercomputing Center. | ||
# All Rights Reserved. | ||
|
||
docker build -t icaoberg/gnuplot:5.4.10 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
VERSION=5.4.10 | ||
PACKAGE=gnuplot | ||
TOOL=gnuplot | ||
DIRECTORY=$(dirname $0) | ||
|
||
STORAGES=(/ocean /bil /hive /local) | ||
|
||
OPTIONS="" | ||
for STORAGE in "${STORAGES[@]}" | ||
do | ||
if [ -d "$STORAGE" ]; then | ||
OPTIONS=$OPTIONS" -B $STORAGE" | ||
fi | ||
done | ||
|
||
singularity exec $OPTIONS $DIRECTORY/singularity-$PACKAGE-$VERSION.sif $TOOL "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
-- | ||
-- gnuplot 5.4.10 modulefile | ||
-- | ||
-- "URL: https://www.psc.edu/resources/software" | ||
-- "Category: Other" | ||
-- "Description: gnuplot is a command-line and GUI program that can generate two- and three-dimensional plots of functions, data, and data fits." | ||
-- "Keywords: singularity utilities" | ||
|
||
whatis("Name: gnuplot") | ||
whatis("Version: 5.4.10") | ||
whatis("Category: Other") | ||
whatis("URL: https://www.psc.edu/resources/software") | ||
whatis("Description: gnuplot is a command-line and GUI program that can generate two- and three-dimensional plots of functions, data, and data fits.") | ||
|
||
help([[ | ||
gnuplot is a command-line and GUI program that can generate two- and three-dimensional plots of functions, data, and data fits. | ||
To load the module type | ||
> module load gnuplot/5.4.10 | ||
To unload the module type | ||
> module unload gnuplot/5.4.10 | ||
Documentation | ||
------------- | ||
For help, type | ||
> gnuplot --help | ||
Tools included in this module are | ||
* gnuplot | ||
]]) | ||
|
||
local package = "gnuplot" | ||
local version = "5.4.10" | ||
local base = pathJoin("/opt/packages",package,version) | ||
prepend_path("PATH", base) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Copyright © 2021-2023 Pittsburgh Supercomputing Center. | ||
# All Rights Reserved. | ||
|
||
IMAGE=singularity-gnuplot-5.4.10.sif | ||
DEFINITION=Singularity | ||
|
||
if [ -f $IMAGE ]; then | ||
rm -fv $IMAGE | ||
fi | ||
|
||
singularity build --remote $IMAGE $DEFINITION | ||
|
||
if [ -f $IMAGE ]; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
./singularity-gnuplot-5.4.10.sif --help |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters