-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added source/* to gitignore * Add arch files for Intel compilers ATOS * Add arch files for m1mac * Added ecwam-bundle * Updated README with bundle instructions * Deleted apple arch * Removed IFS checks from env.sh * Moved bundle files to package/bundle
- Loading branch information
Showing
7 changed files
with
231 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,9 @@ doc/latex | |
.nfs* | ||
build/* | ||
install/* | ||
env.sh | ||
source/* | ||
ecbundle | ||
/env.sh | ||
*.DS_Store | ||
.vscode | ||
*.mod |
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,44 @@ | ||
# Source me to get the correct configure/build/run environment | ||
|
||
# Store tracing and disable (module is *way* too verbose) | ||
{ tracing_=${-//[^x]/}; set +x; } 2>/dev/null | ||
|
||
module_load() { | ||
echo "+ module load $*" | ||
module load $* | ||
} | ||
module_unload() { | ||
echo "+ module unload $*" | ||
module unload $* | ||
} | ||
module_purge() { | ||
echo "+ module purge" | ||
module purge | ||
} | ||
|
||
# Unload all modules to be certain | ||
module_purge | ||
|
||
# Load modules | ||
module_load prgenv/intel | ||
module_load intel/2021.4.0 | ||
module_load hpcx-openmpi/2.9.0 | ||
module_load intel-mkl/19.0.5 | ||
module_load fftw/3.3.9 | ||
module_load netcdf4/4.7.4 | ||
module_load hdf5/1.10.6 | ||
module_load eigen/3.3.7 | ||
module_load cmake/3.20.2 | ||
module_load ninja/1.10.0 | ||
module_load fcm/2019.05.0 | ||
module_load aec/1.0.4 | ||
|
||
# Setting required for bit reproducibility with Intel MKL: | ||
export MKL_CBWR=AUTO,STRICT | ||
|
||
# Record the RPATH in the executable | ||
export LD_RUN_PATH=$LD_LIBRARY_PATH | ||
|
||
# Restore tracing to stored setting | ||
{ if [[ -n "$tracing_" ]]; then set -x; else set +x; fi } 2>/dev/null | ||
|
44 changes: 44 additions & 0 deletions
44
package/bundle/arch/ecmwf/hpc2020/intel/2021.4.0/hpcx-openmpi/2.9.0/env.sh
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,44 @@ | ||
# Source me to get the correct configure/build/run environment | ||
|
||
# Store tracing and disable (module is *way* too verbose) | ||
{ tracing_=${-//[^x]/}; set +x; } 2>/dev/null | ||
|
||
module_load() { | ||
echo "+ module load $*" | ||
module load $* | ||
} | ||
module_unload() { | ||
echo "+ module unload $*" | ||
module unload $* | ||
} | ||
module_purge() { | ||
echo "+ module purge" | ||
module purge | ||
} | ||
|
||
# Unload all modules to be certain | ||
module_purge | ||
|
||
# Load modules | ||
module_load prgenv/intel | ||
module_load intel/2021.4.0 | ||
module_load hpcx-openmpi/2.9.0 | ||
module_load intel-mkl/19.0.5 | ||
module_load fftw/3.3.9 | ||
module_load netcdf4/4.7.4 | ||
module_load hdf5/1.10.6 | ||
module_load eigen/3.3.7 | ||
module_load cmake/3.20.2 | ||
module_load ninja/1.10.0 | ||
module_load fcm/2019.05.0 | ||
module_load aec/1.0.4 | ||
|
||
# Setting required for bit reproducibility with Intel MKL: | ||
export MKL_CBWR=AUTO,STRICT | ||
|
||
# Record the RPATH in the executable | ||
export LD_RUN_PATH=$LD_LIBRARY_PATH | ||
|
||
# Restore tracing to stored setting | ||
{ if [[ -n "$tracing_" ]]; then set -x; else set +x; fi } 2>/dev/null | ||
|
44 changes: 44 additions & 0 deletions
44
package/bundle/arch/ecmwf/hpc2020/intel/2021.4.0/intel-mpi/2021.4.0/env.sh
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,44 @@ | ||
# Source me to get the correct configure/build/run environment | ||
|
||
# Store tracing and disable (module is *way* too verbose) | ||
{ tracing_=${-//[^x]/}; set +x; } 2>/dev/null | ||
|
||
module_load() { | ||
echo "+ module load $*" | ||
module load $* | ||
} | ||
module_unload() { | ||
echo "+ module unload $*" | ||
module unload $* | ||
} | ||
module_purge() { | ||
echo "+ module purge" | ||
module purge | ||
} | ||
|
||
# Unload all modules to be certain | ||
module_purge | ||
|
||
# Load modules | ||
module_load prgenv/intel | ||
module_load intel/2021.4.0 | ||
module_load intel-mpi/2021.4.0 | ||
module_load intel-mkl/19.0.5 | ||
module_load fftw/3.3.9 | ||
module_load netcdf4/4.7.4 | ||
module_load hdf5/1.10.6 | ||
module_load eigen/3.3.7 | ||
module_load cmake/3.20.2 | ||
module_load ninja/1.10.0 | ||
module_load fcm/2019.05.0 | ||
module_load aec/1.0.4 | ||
|
||
# Setting required for bit reproducibility with Intel MKL: | ||
export MKL_CBWR=AUTO,STRICT | ||
|
||
# Record the RPATH in the executable | ||
export LD_RUN_PATH=$LD_LIBRARY_PATH | ||
|
||
# Restore tracing to stored setting | ||
{ if [[ -n "$tracing_" ]]; then set -x; else set +x; fi } 2>/dev/null | ||
|
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,53 @@ | ||
--- | ||
### Bundle | ||
|
||
name : ecwam-bundle | ||
version : 0.0.0 | ||
cmake : CMAKE_LINK_DEPENDS_NO_SHARED=ON | ||
ENABLE_OMP=ON | ||
|
||
|
||
projects : | ||
|
||
- ecbuild : | ||
git : https://github.com/ecmwf/ecbuild | ||
version : master | ||
bundle : false | ||
|
||
- eccodes : | ||
git : https://github.com/ecmwf/eccodes | ||
version : master | ||
cmake : ENABLE_MEMFS=ON | ||
|
||
- fiat : | ||
git : https://github.com/ecmwf-ifs/fiat | ||
version : main | ||
|
||
- field_api : | ||
git : ${BITBUCKET}/RDX/field_api | ||
version : master | ||
optional: true | ||
cmake : > | ||
BUILD_field_api=OFF | ||
ENABLE_CUDA=OFF | ||
ENABLE_FIELD_API_TESTS=OFF | ||
- ecwam : | ||
dir : $PWD | ||
version : main | ||
require : fiat | ||
|
||
options : | ||
|
||
- without-mpi : | ||
help : Disable MPI | ||
cmake : ENABLE_MPI=OFF | ||
|
||
- without-omp : | ||
help : Disable OpenMP | ||
cmake : ENABLE_OMP=OFF | ||
|
||
- with-field_api : | ||
help : Enable FIELD_API | ||
cmake : BUILD_field_api=ON | ||
|
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,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
# BOOTSTRAP ecbundle-build or ecbundle-create, | ||
# and pass arguments to it. | ||
|
||
ecbundle_VERSION=develop | ||
|
||
BUNDLE_DIR="$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd -P )" | ||
|
||
# Download ecbundle scripts if not already available | ||
command_exists () { type "$1" &> /dev/null ; } | ||
if ! command_exists ecbundle ; then | ||
if [[ ! -d ${BUNDLE_DIR}/ecbundle ]]; then | ||
git clone https://github.com/ecmwf/ecbundle ${BUNDLE_DIR}/ecbundle | ||
( cd ${BUNDLE_DIR}/ecbundle && git checkout ${ecbundle_VERSION} ) | ||
fi | ||
export PATH=${BUNDLE_DIR}/ecbundle/bin:${PATH} | ||
fi | ||
|
||
{ module unload python3; module load python3; } 2>/dev/null | ||
|
||
set -e | ||
ecbundle "$@" |