...
Installation scripts
- Fetching scripts
git clone httpsclone https://<GW user login>@gforge6login>@gforge-next.eufus.eu/git/imasscripts
Content of the cloned repo (branch master)
Code Block imasscripts>ls -la drwxr-xr-x 2 g2bpalak g2itmdev 4096 Jan 24 11:39 amns drwxr-xr-x 3 g2bpalak g2itmdev 4096 Jan 24 11:40 blas drwxr-xr-x 2 g2bpalak g2itmdev 4096 Jan 24 11:43 ggd drwxr-xr-x 2 g2bpalak g2itmdev 4096 Jan 24 11:39 interpos drwxr-xr-x 3 g2bpalak g2itmdev 4096 Jan 24 11:40 lapack drwxr-xr-x 2 g2bpalak g2itmdev 4096 Jan 24 11:43 libbds drwxr-xr-x 2 g2bpalak g2itmdev 4096 Jan 24 11:43 xmllib
- Script structure
...
- Set compiler:
module load imasenv/x.y.z-alpha/<compiler vendor>/<compiler version> e.g.
imasenv/3.26.0-alpha/intel/17.0- pls ignore all errors related to libraries that are not compiled yet
- Set a proper version/tag
- Check which version of given lib is the latest one
edit
build.sh
to set<LIBRARY>_VERSION="a.b.c" (e.g AMNS_VERSION="1.3.0")
- run ./
build.sh
- Usually after installation there are still few manual steps required (to be automatised in future) - see next point
Specific actions
to be automatised in future
AMNS
Modules need to be installed manually
- Create modulefiles
- location: $IMAS_HOME/
etc/modulefiles/amns/<amns_version>/<compiler>/<version>/imas/<DD version> (e.g. etc/modulefiles/amns/1.3.0/intel/17.0/imas/3.26.0)
the best way is to copy modulefile describing previous version of AMNS
- location: $IMAS_HOME/
- Edit modulefiles:
- update
prereq
- update
prefix
- update
GGD
No extra actions to be taken...
LIBBDS
...
IMASViz
TBD
THE END
Renaming imasenv/x.y.z-alpha to imasenv/x.y.z
Code Block |
---|
mv /path/to/imasenv/x.y.z-alpha /path/to/imasenv/x.y.z |
Info | ||
---|---|---|
| ||
This work has been carried out within the framework of the EUROfusion Consortium and has received funding from the Euratom research and training programme 2014-2018 under grant agreement No 633053.The scientific work is published for the realization of the international project co-financed by Polish Ministry of Science and Higher Education in 2019 and 2020 from financial resources of the program entitled "PMW"; Agreement No. 5040/H2020/Euratom/2019/2 and 5142/H2020-Euratom/2020/2”. |