Skip to content
Snippets Groups Projects
Commit 6a9442c0 authored by Jana Berger's avatar Jana Berger
Browse files

Added prepareEnvironment scripts.

parent 002b634b
Branches
No related tags found
No related merge requests found
#!/bin/bash
module add DEVELOP
module add LIBRARIES
module load MATH
boostCurrentVersion=$(php moduleTools/getMostRecentVersion.php boost)
clangCurrentVersion=$(php moduleTools/getMostRecentVersion.php clang)
cmakeCurrentVersion=$(php moduleTools/getMostRecentVersion.php cmake)
gccCurrentVersion=$(php moduleTools/getMostRecentVersion.php gcc)
echo "Using Boost version $boostCurrentVersion"
echo "Using CMake version $cmakeCurrentVersion"
echo "Using Clang version $clangCurrentVersion"
# This is the Clang version
module switch intel gcc/$clangCurrentVersion
module add DEVELOP
module add LIBRARIES
module load MATH
module load cmake/$cmakeCurrentVersion
module load LIBRARIES boost/$boostCurrentVersion
module load MATH gurobi
module load inteltbb
module load intelmkl
#!/bin/bash
module add DEVELOP
module add LIBRARIES
module load MATH
boostCurrentVersion=$(php moduleTools/getMostRecentVersion.php boost)
clangCurrentVersion=$(php moduleTools/getMostRecentVersion.php clang)
cmakeCurrentVersion=$(php moduleTools/getMostRecentVersion.php cmake)
gccCurrentVersion=$(php moduleTools/getMostRecentVersion.php gcc)
echo "Using Boost version $boostCurrentVersion"
echo "Using CMake version $cmakeCurrentVersion"
echo "Using GCC version $gccCurrentVersion"
# This is the GCC version
module switch intel gcc/$gccCurrentVersion
module add DEVELOP
module add LIBRARIES
module load MATH
module load cmake/$cmakeCurrentVersion
module load LIBRARIES boost/$boostCurrentVersion
module load MATH gurobi
module load inteltbb
module load intelmkl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment