-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3563ae
commit fd0d6ca
Showing
10 changed files
with
87 additions
and
54 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
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
src/icepack_drivers/Icepack | ||
lib/*.a | ||
lib/*.so | ||
lib64/* | ||
/work_* | ||
Makefile.in | ||
mesh_part/build |
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 |
---|---|---|
@@ -1,11 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
HERE=$PWD | ||
|
||
SOURCE_DIR="$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd -P )" | ||
BUILD_DIR=${BUILD_DIR:-build} | ||
|
||
source env.sh # source this from your run script too | ||
mkdir build || true # make sure not to commit this to svn or git | ||
cd build | ||
cmake .. $@ -DCMAKE_BUILD_TYPE=Debug # not required when re-compiling | ||
# additional cmake arguments can be passed to configure.sh | ||
# this also includes fesom specific options in CMakeLists, can be used as -DFESOM_COUPLED=ON | ||
mkdir -p ${BUILD_DIR} | ||
cd ${BUILD_DIR} | ||
cmake .. -DCMAKE_INSTALL_PREFIX=$HERE -DCMAKE_BUILD_TYPE=Debug ${CMAKE_ARGS} $@ | ||
# not required when re-compiling | ||
# additional cmake arguments can be passed to configure.sh | ||
# this also includes fesom specific options in CMakeLists, can be used as -DFESOM_COUPLED=ON | ||
make install -j`nproc --all` |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export FC=mpifort CC=mpicc CXX=mpicxx | ||
export BLAS_LIBRARIES=/usr/lib/x86_64-linux-gnu/blas/ | ||
export UBUNTU_BLAS_LIBRARY="libblas.a" | ||
|
||
if [[ -f "/usr/lib/x86_64-linux-gnu/liblapack.so.3" ]]; then | ||
export LAPACK_LIBRARIES=/usr/lib/x86_64-linux-gnu/liblapack.so.3 | ||
export CMAKE_ARGS=-DLAPACK_LIBRARIES=${LAPACK_LIBRARIES} | ||
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
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
# custom build script in use at ECMWF | ||
|
||
set -e | ||
|
||
#cd ../../ | ||
source env.sh # source this from your run script too | ||
|
||
HERE=$PWD | ||
echo "+ mkdir -p build" | ||
mkdir -p build | ||
echo "+ cd build" | ||
cd build | ||
echo + cmake .. -DCMAKE_INSTALL_PREFIX=$HERE -DBUILD_SHARED_LIBS=ON -DENABLE_IFS_INTERFACE=ON ${CMAKE_ARGS} $@ # not required when re-compiling | ||
cmake .. -DCMAKE_INSTALL_PREFIX=$HERE -DBUILD_SHARED_LIBS=ON -DENABLE_IFS_INTERFACE=ON ${CMAKE_ARGS} $@ # not required when re-compiling | ||
echo "+ make install -j`nproc --all`" | ||
make install -j`nproc --all` | ||
|
This file was deleted.
Oops, something went wrong.