-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:kokkos/kokkos-fortran-interop in…
…to develop
- Loading branch information
Showing
265 changed files
with
6,791 additions
and
2,580 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
45 changes: 45 additions & 0 deletions
45
ci/flcl-run-ci-darwin-ppc-gcc-7.4.0-cuda-10.1-kokkos-3.0.00-cuda-debug.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,45 @@ | ||
#!/bin/tcsh | ||
setenv CI_SEP - | ||
setenv CI_BUILD_TYPE debug | ||
setenv CI_BUILD_SUFFIX build | ||
setenv CI_INSTALL_SUFFIX install | ||
setenv CI_MACHINE_ARCH ppc | ||
setenv CI_COMPILER_FAMILY gcc | ||
setenv CI_COMPILER_VER 7.4.0 | ||
setenv CI_COMPILER_NAME $CI_COMPILER_FAMILY$CI_SEP$CI_COMPILER_VER$CI_SEP | ||
setenv CI_CUDA_PREFIX cuda | ||
setenv CI_CUDA_VER 10.1 | ||
setenv CI_CUDA_NAME $CI_CUDA_PREFIX$CI_SEP$CI_CUDA_VER$CI_SEP | ||
setenv CI_KOKKOS_PREFIX kokkos | ||
setenv CI_KOKKOS_VER 3.0.00 | ||
setenv CI_KOKKOS_BACKEND cuda | ||
setenv CI_KOKKOS_NAME $CI_KOKKOS_PREFIX$CI_SEP$CI_KOKKOS_VER$CI_SEP$CI_KOKKOS_BACKEND$CI_SEP$CI_BUILD_TYPE | ||
setenv CI_KOKKOS_PATH_PREFIX /home/$USER/kt | ||
setenv CI_KOKKOS_INSTALL_DIR $CI_KOKKOS_PATH_PREFIX/$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME | ||
setenv CI_KOKKOS_BUILD_DIR $CI_KOKKOS_INSTALL_DIR$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_PREFIX flcl | ||
setenv CI_FLCL_PATH_PREFIX /home/$USER/kokkos-fortran-interop | ||
setenv CI_FLCL_CI_PATH_PREFIX $CI_FLCL_PATH_PREFIX/ci | ||
setenv CI_FLCL_KOKKOS_PATH $CI_KOKKOS_INSTALL_DIR/lib64/cmake/Kokkos | ||
setenv CI_FLCL_BUILD_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_INSTALL_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_INSTALL_SUFFIX | ||
rm -rf $CI_FLCL_INSTALL_DIR | ||
rm -rf $CI_FLCL_BUILD_DIR | ||
mkdir -p $CI_FLCL_INSTALL_DIR | ||
mkdir -p $CI_FLCL_BUILD_DIR | ||
module load cmake/3.19.2 | ||
module load gcc/7.4.0 | ||
module load cuda/10.1 | ||
setenv CUDA_LAUNCH_BLOCKING 1 | ||
setenv CUDA_MANAGED_FORCE_DEVICE_ALLOC 1 | ||
cd $CI_FLCL_BUILD_DIR | ||
cmake $CI_FLCL_PATH_PREFIX\ | ||
-DKokkos_DIR=$CI_FLCL_KOKKOS_PATH \ | ||
-DCMAKE_CXX_COMPILER=/home/$USER/kokkos/kokkos-3.0.00/bin/nvcc_wrapper \ | ||
-DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON \ | ||
-DCMAKE_INSTALL_PREFIX=$CI_FLCL_INSTALL_DIR | ||
cmake --build $CI_FLCL_BUILD_DIR --parallel | ||
cmake --install $CI_FLCL_BUILD_DIR | ||
ctest | ||
module purge | ||
#rm -rf $CI_FLCL_BUILD_DIR |
45 changes: 45 additions & 0 deletions
45
ci/flcl-run-ci-darwin-ppc-gcc-7.4.0-cuda-10.1-kokkos-3.0.00-cuda-release.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,45 @@ | ||
#!/bin/tcsh | ||
setenv CI_SEP - | ||
setenv CI_BUILD_TYPE release | ||
setenv CI_BUILD_SUFFIX build | ||
setenv CI_INSTALL_SUFFIX install | ||
setenv CI_MACHINE_ARCH ppc | ||
setenv CI_COMPILER_FAMILY gcc | ||
setenv CI_COMPILER_VER 7.4.0 | ||
setenv CI_COMPILER_NAME $CI_COMPILER_FAMILY$CI_SEP$CI_COMPILER_VER$CI_SEP | ||
setenv CI_CUDA_PREFIX cuda | ||
setenv CI_CUDA_VER 10.1 | ||
setenv CI_CUDA_NAME $CI_CUDA_PREFIX$CI_SEP$CI_CUDA_VER$CI_SEP | ||
setenv CI_KOKKOS_PREFIX kokkos | ||
setenv CI_KOKKOS_VER 3.0.00 | ||
setenv CI_KOKKOS_BACKEND cuda | ||
setenv CI_KOKKOS_NAME $CI_KOKKOS_PREFIX$CI_SEP$CI_KOKKOS_VER$CI_SEP$CI_KOKKOS_BACKEND$CI_SEP$CI_BUILD_TYPE | ||
setenv CI_KOKKOS_PATH_PREFIX /home/$USER/kt | ||
setenv CI_KOKKOS_INSTALL_DIR $CI_KOKKOS_PATH_PREFIX/$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME | ||
setenv CI_KOKKOS_BUILD_DIR $CI_KOKKOS_INSTALL_DIR$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_PREFIX flcl | ||
setenv CI_FLCL_PATH_PREFIX /home/$USER/kokkos-fortran-interop | ||
setenv CI_FLCL_CI_PATH_PREFIX $CI_FLCL_PATH_PREFIX/ci | ||
setenv CI_FLCL_KOKKOS_PATH $CI_KOKKOS_INSTALL_DIR/lib64/cmake/Kokkos | ||
setenv CI_FLCL_BUILD_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_INSTALL_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_INSTALL_SUFFIX | ||
rm -rf $CI_FLCL_INSTALL_DIR | ||
rm -rf $CI_FLCL_BUILD_DIR | ||
mkdir -p $CI_FLCL_INSTALL_DIR | ||
mkdir -p $CI_FLCL_BUILD_DIR | ||
module load cmake/3.19.2 | ||
module load gcc/7.4.0 | ||
module load cuda/10.1 | ||
setenv CUDA_LAUNCH_BLOCKING 1 | ||
setenv CUDA_MANAGED_FORCE_DEVICE_ALLOC 1 | ||
cd $CI_FLCL_BUILD_DIR | ||
cmake $CI_FLCL_PATH_PREFIX\ | ||
-DKokkos_DIR=$CI_FLCL_KOKKOS_PATH \ | ||
-DCMAKE_CXX_COMPILER=/home/$USER/kokkos/kokkos-3.0.00/bin/nvcc_wrapper \ | ||
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON \ | ||
-DCMAKE_INSTALL_PREFIX=$CI_FLCL_INSTALL_DIR | ||
cmake --build $CI_FLCL_BUILD_DIR --parallel | ||
cmake --install $CI_FLCL_BUILD_DIR | ||
ctest | ||
module purge | ||
#rm -rf $CI_FLCL_BUILD_DIR |
45 changes: 45 additions & 0 deletions
45
ci/flcl-run-ci-darwin-ppc-gcc-7.4.0-cuda-10.1-kokkos-3.1.01-cuda-debug.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,45 @@ | ||
#!/bin/tcsh | ||
setenv CI_SEP - | ||
setenv CI_BUILD_TYPE debug | ||
setenv CI_BUILD_SUFFIX build | ||
setenv CI_INSTALL_SUFFIX install | ||
setenv CI_MACHINE_ARCH ppc | ||
setenv CI_COMPILER_FAMILY gcc | ||
setenv CI_COMPILER_VER 7.4.0 | ||
setenv CI_COMPILER_NAME $CI_COMPILER_FAMILY$CI_SEP$CI_COMPILER_VER$CI_SEP | ||
setenv CI_CUDA_PREFIX cuda | ||
setenv CI_CUDA_VER 10.1 | ||
setenv CI_CUDA_NAME $CI_CUDA_PREFIX$CI_SEP$CI_CUDA_VER$CI_SEP | ||
setenv CI_KOKKOS_PREFIX kokkos | ||
setenv CI_KOKKOS_VER 3.1.01 | ||
setenv CI_KOKKOS_BACKEND cuda | ||
setenv CI_KOKKOS_NAME $CI_KOKKOS_PREFIX$CI_SEP$CI_KOKKOS_VER$CI_SEP$CI_KOKKOS_BACKEND$CI_SEP$CI_BUILD_TYPE | ||
setenv CI_KOKKOS_PATH_PREFIX /home/$USER/kt | ||
setenv CI_KOKKOS_INSTALL_DIR $CI_KOKKOS_PATH_PREFIX/$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME | ||
setenv CI_KOKKOS_BUILD_DIR $CI_KOKKOS_INSTALL_DIR$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_PREFIX flcl | ||
setenv CI_FLCL_PATH_PREFIX /home/$USER/kokkos-fortran-interop | ||
setenv CI_FLCL_CI_PATH_PREFIX $CI_FLCL_PATH_PREFIX/ci | ||
setenv CI_FLCL_KOKKOS_PATH $CI_KOKKOS_INSTALL_DIR/lib64/cmake/Kokkos | ||
setenv CI_FLCL_BUILD_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_INSTALL_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_INSTALL_SUFFIX | ||
rm -rf $CI_FLCL_INSTALL_DIR | ||
rm -rf $CI_FLCL_BUILD_DIR | ||
mkdir -p $CI_FLCL_INSTALL_DIR | ||
mkdir -p $CI_FLCL_BUILD_DIR | ||
module load cmake/3.19.2 | ||
module load gcc/7.4.0 | ||
module load cuda/10.1 | ||
setenv CUDA_LAUNCH_BLOCKING 1 | ||
setenv CUDA_MANAGED_FORCE_DEVICE_ALLOC 1 | ||
cd $CI_FLCL_BUILD_DIR | ||
cmake $CI_FLCL_PATH_PREFIX\ | ||
-DKokkos_DIR=$CI_FLCL_KOKKOS_PATH \ | ||
-DCMAKE_CXX_COMPILER=/home/$USER/kokkos/kokkos-3.1.01/bin/nvcc_wrapper \ | ||
-DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON \ | ||
-DCMAKE_INSTALL_PREFIX=$CI_FLCL_INSTALL_DIR | ||
cmake --build $CI_FLCL_BUILD_DIR --parallel | ||
cmake --install $CI_FLCL_BUILD_DIR | ||
ctest | ||
module purge | ||
#rm -rf $CI_FLCL_BUILD_DIR |
45 changes: 45 additions & 0 deletions
45
ci/flcl-run-ci-darwin-ppc-gcc-7.4.0-cuda-10.1-kokkos-3.1.01-cuda-release.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,45 @@ | ||
#!/bin/tcsh | ||
setenv CI_SEP - | ||
setenv CI_BUILD_TYPE release | ||
setenv CI_BUILD_SUFFIX build | ||
setenv CI_INSTALL_SUFFIX install | ||
setenv CI_MACHINE_ARCH ppc | ||
setenv CI_COMPILER_FAMILY gcc | ||
setenv CI_COMPILER_VER 7.4.0 | ||
setenv CI_COMPILER_NAME $CI_COMPILER_FAMILY$CI_SEP$CI_COMPILER_VER$CI_SEP | ||
setenv CI_CUDA_PREFIX cuda | ||
setenv CI_CUDA_VER 10.1 | ||
setenv CI_CUDA_NAME $CI_CUDA_PREFIX$CI_SEP$CI_CUDA_VER$CI_SEP | ||
setenv CI_KOKKOS_PREFIX kokkos | ||
setenv CI_KOKKOS_VER 3.1.01 | ||
setenv CI_KOKKOS_BACKEND cuda | ||
setenv CI_KOKKOS_NAME $CI_KOKKOS_PREFIX$CI_SEP$CI_KOKKOS_VER$CI_SEP$CI_KOKKOS_BACKEND$CI_SEP$CI_BUILD_TYPE | ||
setenv CI_KOKKOS_PATH_PREFIX /home/$USER/kt | ||
setenv CI_KOKKOS_INSTALL_DIR $CI_KOKKOS_PATH_PREFIX/$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME | ||
setenv CI_KOKKOS_BUILD_DIR $CI_KOKKOS_INSTALL_DIR$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_PREFIX flcl | ||
setenv CI_FLCL_PATH_PREFIX /home/$USER/kokkos-fortran-interop | ||
setenv CI_FLCL_CI_PATH_PREFIX $CI_FLCL_PATH_PREFIX/ci | ||
setenv CI_FLCL_KOKKOS_PATH $CI_KOKKOS_INSTALL_DIR/lib64/cmake/Kokkos | ||
setenv CI_FLCL_BUILD_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_INSTALL_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_INSTALL_SUFFIX | ||
rm -rf $CI_FLCL_INSTALL_DIR | ||
rm -rf $CI_FLCL_BUILD_DIR | ||
mkdir -p $CI_FLCL_INSTALL_DIR | ||
mkdir -p $CI_FLCL_BUILD_DIR | ||
module load cmake/3.19.2 | ||
module load gcc/7.4.0 | ||
module load cuda/10.1 | ||
setenv CUDA_LAUNCH_BLOCKING 1 | ||
setenv CUDA_MANAGED_FORCE_DEVICE_ALLOC 1 | ||
cd $CI_FLCL_BUILD_DIR | ||
cmake $CI_FLCL_PATH_PREFIX\ | ||
-DKokkos_DIR=$CI_FLCL_KOKKOS_PATH \ | ||
-DCMAKE_CXX_COMPILER=/home/$USER/kokkos/kokkos-3.1.01/bin/nvcc_wrapper \ | ||
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON \ | ||
-DCMAKE_INSTALL_PREFIX=$CI_FLCL_INSTALL_DIR | ||
cmake --build $CI_FLCL_BUILD_DIR --parallel | ||
cmake --install $CI_FLCL_BUILD_DIR | ||
ctest | ||
module purge | ||
#rm -rf $CI_FLCL_BUILD_DIR |
43 changes: 43 additions & 0 deletions
43
ci/flcl-run-ci-darwin-ppc-gcc-7.4.0-kokkos-3.0.00-openmp-debug.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,43 @@ | ||
#!/bin/tcsh | ||
setenv CI_SEP - | ||
setenv CI_BUILD_TYPE debug | ||
setenv CI_BUILD_SUFFIX build | ||
setenv CI_INSTALL_SUFFIX install | ||
setenv CI_MACHINE_ARCH ppc | ||
setenv CI_COMPILER_FAMILY gcc | ||
setenv CI_COMPILER_VER 7.4.0 | ||
setenv CI_COMPILER_NAME $CI_COMPILER_FAMILY$CI_SEP$CI_COMPILER_VER$CI_SEP | ||
setenv CI_CUDA_PREFIX cuda | ||
setenv CI_CUDA_VER | ||
setenv CI_CUDA_NAME | ||
setenv CI_KOKKOS_PREFIX kokkos | ||
setenv CI_KOKKOS_VER 3.0.00 | ||
setenv CI_KOKKOS_BACKEND openmp | ||
setenv CI_KOKKOS_NAME $CI_KOKKOS_PREFIX$CI_SEP$CI_KOKKOS_VER$CI_SEP$CI_KOKKOS_BACKEND$CI_SEP$CI_BUILD_TYPE | ||
setenv CI_KOKKOS_PATH_PREFIX /home/$USER/kt | ||
setenv CI_KOKKOS_INSTALL_DIR $CI_KOKKOS_PATH_PREFIX/$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME | ||
setenv CI_KOKKOS_BUILD_DIR $CI_KOKKOS_INSTALL_DIR$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_PREFIX flcl | ||
setenv CI_FLCL_PATH_PREFIX /home/$USER/kokkos-fortran-interop | ||
setenv CI_FLCL_CI_PATH_PREFIX $CI_FLCL_PATH_PREFIX/ci | ||
setenv CI_FLCL_KOKKOS_PATH $CI_KOKKOS_INSTALL_DIR/lib64/cmake/Kokkos | ||
setenv CI_FLCL_BUILD_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_INSTALL_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_INSTALL_SUFFIX | ||
rm -rf $CI_FLCL_INSTALL_DIR | ||
rm -rf $CI_FLCL_BUILD_DIR | ||
mkdir -p $CI_FLCL_INSTALL_DIR | ||
mkdir -p $CI_FLCL_BUILD_DIR | ||
module load cmake/3.19.2 | ||
module load gcc/7.4.0 | ||
setenv OMP_PROC_BIND spread | ||
setenv OMP_PLACES threads | ||
cd $CI_FLCL_BUILD_DIR | ||
cmake $CI_FLCL_PATH_PREFIX\ | ||
-DKokkos_DIR=$CI_FLCL_KOKKOS_PATH \ | ||
-DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON \ | ||
-DCMAKE_INSTALL_PREFIX=$CI_FLCL_INSTALL_DIR | ||
cmake --build $CI_FLCL_BUILD_DIR --parallel | ||
cmake --install $CI_FLCL_BUILD_DIR | ||
ctest | ||
module purge | ||
#rm -rf $CI_FLCL_BUILD_DIR |
43 changes: 43 additions & 0 deletions
43
ci/flcl-run-ci-darwin-ppc-gcc-7.4.0-kokkos-3.0.00-openmp-release.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,43 @@ | ||
#!/bin/tcsh | ||
setenv CI_SEP - | ||
setenv CI_BUILD_TYPE release | ||
setenv CI_BUILD_SUFFIX build | ||
setenv CI_INSTALL_SUFFIX install | ||
setenv CI_MACHINE_ARCH ppc | ||
setenv CI_COMPILER_FAMILY gcc | ||
setenv CI_COMPILER_VER 7.4.0 | ||
setenv CI_COMPILER_NAME $CI_COMPILER_FAMILY$CI_SEP$CI_COMPILER_VER$CI_SEP | ||
setenv CI_CUDA_PREFIX cuda | ||
setenv CI_CUDA_VER | ||
setenv CI_CUDA_NAME | ||
setenv CI_KOKKOS_PREFIX kokkos | ||
setenv CI_KOKKOS_VER 3.0.00 | ||
setenv CI_KOKKOS_BACKEND openmp | ||
setenv CI_KOKKOS_NAME $CI_KOKKOS_PREFIX$CI_SEP$CI_KOKKOS_VER$CI_SEP$CI_KOKKOS_BACKEND$CI_SEP$CI_BUILD_TYPE | ||
setenv CI_KOKKOS_PATH_PREFIX /home/$USER/kt | ||
setenv CI_KOKKOS_INSTALL_DIR $CI_KOKKOS_PATH_PREFIX/$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME | ||
setenv CI_KOKKOS_BUILD_DIR $CI_KOKKOS_INSTALL_DIR$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_PREFIX flcl | ||
setenv CI_FLCL_PATH_PREFIX /home/$USER/kokkos-fortran-interop | ||
setenv CI_FLCL_CI_PATH_PREFIX $CI_FLCL_PATH_PREFIX/ci | ||
setenv CI_FLCL_KOKKOS_PATH $CI_KOKKOS_INSTALL_DIR/lib64/cmake/Kokkos | ||
setenv CI_FLCL_BUILD_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_INSTALL_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_INSTALL_SUFFIX | ||
rm -rf $CI_FLCL_INSTALL_DIR | ||
rm -rf $CI_FLCL_BUILD_DIR | ||
mkdir -p $CI_FLCL_INSTALL_DIR | ||
mkdir -p $CI_FLCL_BUILD_DIR | ||
module load cmake/3.19.2 | ||
module load gcc/7.4.0 | ||
setenv OMP_PROC_BIND spread | ||
setenv OMP_PLACES threads | ||
cd $CI_FLCL_BUILD_DIR | ||
cmake $CI_FLCL_PATH_PREFIX\ | ||
-DKokkos_DIR=$CI_FLCL_KOKKOS_PATH \ | ||
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON \ | ||
-DCMAKE_INSTALL_PREFIX=$CI_FLCL_INSTALL_DIR | ||
cmake --build $CI_FLCL_BUILD_DIR --parallel | ||
cmake --install $CI_FLCL_BUILD_DIR | ||
ctest | ||
module purge | ||
#rm -rf $CI_FLCL_BUILD_DIR |
41 changes: 41 additions & 0 deletions
41
ci/flcl-run-ci-darwin-ppc-gcc-7.4.0-kokkos-3.0.00-serial-debug.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,41 @@ | ||
#!/bin/tcsh | ||
setenv CI_SEP - | ||
setenv CI_BUILD_TYPE debug | ||
setenv CI_BUILD_SUFFIX build | ||
setenv CI_INSTALL_SUFFIX install | ||
setenv CI_MACHINE_ARCH ppc | ||
setenv CI_COMPILER_FAMILY gcc | ||
setenv CI_COMPILER_VER 7.4.0 | ||
setenv CI_COMPILER_NAME $CI_COMPILER_FAMILY$CI_SEP$CI_COMPILER_VER$CI_SEP | ||
setenv CI_CUDA_PREFIX cuda | ||
setenv CI_CUDA_VER | ||
setenv CI_CUDA_NAME | ||
setenv CI_KOKKOS_PREFIX kokkos | ||
setenv CI_KOKKOS_VER 3.0.00 | ||
setenv CI_KOKKOS_BACKEND serial | ||
setenv CI_KOKKOS_NAME $CI_KOKKOS_PREFIX$CI_SEP$CI_KOKKOS_VER$CI_SEP$CI_KOKKOS_BACKEND$CI_SEP$CI_BUILD_TYPE | ||
setenv CI_KOKKOS_PATH_PREFIX /home/$USER/kt | ||
setenv CI_KOKKOS_INSTALL_DIR $CI_KOKKOS_PATH_PREFIX/$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME | ||
setenv CI_KOKKOS_BUILD_DIR $CI_KOKKOS_INSTALL_DIR$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_PREFIX flcl | ||
setenv CI_FLCL_PATH_PREFIX /home/$USER/kokkos-fortran-interop | ||
setenv CI_FLCL_CI_PATH_PREFIX $CI_FLCL_PATH_PREFIX/ci | ||
setenv CI_FLCL_KOKKOS_PATH $CI_KOKKOS_INSTALL_DIR/lib64/cmake/Kokkos | ||
setenv CI_FLCL_BUILD_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_BUILD_SUFFIX | ||
setenv CI_FLCL_INSTALL_DIR $CI_FLCL_CI_PATH_PREFIX/$CI_FLCL_PREFIX$CI_SEP$CI_MACHINE_ARCH$CI_SEP$CI_COMPILER_NAME$CI_CUDA_NAME$CI_KOKKOS_NAME$CI_SEP$CI_INSTALL_SUFFIX | ||
rm -rf $CI_FLCL_INSTALL_DIR | ||
rm -rf $CI_FLCL_BUILD_DIR | ||
mkdir -p $CI_FLCL_INSTALL_DIR | ||
mkdir -p $CI_FLCL_BUILD_DIR | ||
module load cmake/3.19.2 | ||
module load gcc/7.4.0 | ||
cd $CI_FLCL_BUILD_DIR | ||
cmake $CI_FLCL_PATH_PREFIX\ | ||
-DKokkos_DIR=$CI_FLCL_KOKKOS_PATH \ | ||
-DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON \ | ||
-DCMAKE_INSTALL_PREFIX=$CI_FLCL_INSTALL_DIR | ||
cmake --build $CI_FLCL_BUILD_DIR --parallel | ||
cmake --install $CI_FLCL_BUILD_DIR | ||
ctest | ||
module purge | ||
#rm -rf $CI_FLCL_BUILD_DIR |
Oops, something went wrong.