Commit 82d7eae0 authored by David Brusson's avatar David Brusson
Browse files

Updates example images with new path

parent a7e9cb31
......@@ -13,8 +13,10 @@ cp jacobi.c timer.h $SINGULARITY_ROOTFS/sourcefiles
%environment
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/tbb/lib/intel64/gcc4.7:/opt/intel/compilers_and_libraries_2018.1.163/linux/daal/lib/intel64_lin:$LD_LIBRARY_PATH
export PATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/tbb/lib/intel64/gcc4.7:/opt/intel/debugger_2018/iga/lib:/opt/intel/debugger_2018/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/../tbb/lib/intel64_lin/gcc4.4:$LD_LIBRARY_PATH
export PATH=/opt/intel/compilers_and_libraries_2018.5.274/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin:/usr/local/bin:$PATH
export PATH=/usr/local/jacobi/bin:$PATH
%labels
AUTHOR brusson@unistra.fr
......@@ -24,10 +26,11 @@ AUTHOR brusson@unistra.fr
echo "Jacobi test installation"
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/tbb/lib/intel64/gcc4.7:/opt/intel/compilers_and_libraries_2018.1.163/linux/daal/lib/intel64_lin:$LD_LIBRARY_PATH
export PATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/tbb/lib/intel64/gcc4.7:/opt/intel/debugger_2018/iga/lib:/opt/intel/debugger_2018/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/../tbb/lib/intel64_lin/gcc4.4:$LD_LIBRARY_PATH
export PATH=/opt/intel/compilers_and_libraries_2018.5.274/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin:/usr/local/bin:$PATH
cd /sourcefiles
icc jacobi.c -o jacobi -qopenmp -std=c99 -D_BSD_SOURCE
mv jacobi /usr/local/bin
mkdir -p /usr/local/jacobi/bin
mv jacobi /usr/local/jacobi/bin
......@@ -13,10 +13,12 @@ cp bandwidth.c $SINGULARITY_ROOTFS/sourcefiles
%environment
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/openmpi/openmpi-3.1.3-i18/lib:/usr/local/openmpi/openmpi-3.1.3-i18/lib/openmpi:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/tbb/lib/intel64/gcc4.7:/opt/intel/compilers_and_libraries_2018.1.163/linux/daal/lib/intel64_lin:$LD_LIBRARY_PATH
export PATH=/usr/local/openmpi/openmpi-3.1.3-i18/bin:/opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/openmpi/openmpi-3.1.3-i18/lib:/usr/local/openmpi/openmpi-3.1.3-i18/lib/openmpi:/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/tbb/lib/intel64/gcc4.7:/opt/intel/debugger_2018/iga/lib:/opt/intel/debugger_2018/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/../tbb/lib/intel64_lin/gcc4.4:$LD_LIBRARY_PATH
export PATH=/usr/local/openmpi/openmpi-3.1.3-i18/bin:/opt/intel/compilers_and_libraries_2018.5.274/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/important_libs:$LD_LIBRARY_PATH
export PATH=/usr/local/bandwidth/bin:$PATH
%labels
AUTHOR brusson@unistra.fr
......@@ -25,10 +27,11 @@ AUTHOR brusson@unistra.fr
echo "Bandwidth test installation"
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/openmpi/openmpi-3.1.3-i18/lib:/usr/local/openmpi/openmpi-3.1.3-i18/lib/openmpi:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/tbb/lib/intel64/gcc4.7:/opt/intel/compilers_and_libraries_2018.1.163/linux/daal/lib/intel64_lin:$LD_LIBRARY_PATH
export PATH=/usr/local/openmpi/openmpi-3.1.3-i18/bin:/opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/openmpi/openmpi-3.1.3-i18/lib:/usr/local/openmpi/openmpi-3.1.3-i18/lib/openmpi:/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/tbb/lib/intel64/gcc4.7:/opt/intel/debugger_2018/iga/lib:/opt/intel/debugger_2018/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.5.274/linux/daal/../tbb/lib/intel64_lin/gcc4.4:$LD_LIBRARY_PATH
export PATH=/usr/local/openmpi/openmpi-3.1.3-i18/bin:/opt/intel/compilers_and_libraries_2018.5.274/linux/bin/intel64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/important_libs:$LD_LIBRARY_PATH
cd /sourcefiles
mpicc -o bandwidth bandwidth.c
mv bandwidth /usr/local/bin
mkdir -p /usr/local/bandwidth/bin
mv bandwidth /usr/local/bandwidth/bin
......@@ -19,7 +19,7 @@ done
libopenmpi="--bind /usr/local/openmpi/openmpi-3.1.3-i18:/usr/local/openmpi/openmpi-3.1.3-i18"
libintel="--bind /opt/intel/compilers_and_libraries_2018.1.163:/opt/intel/compilers_and_libraries_2018.1.163"
libintel="--bind /opt/intel/compilers_and_libraries_2018.5.274:/opt/intel/compilers_and_libraries_2018.5.274"
case $com in
run) mpirun -np 2 --hostfile $hostfile singularity $debug run $libpsm $libopenmpi $libintel bandwidth.sif ;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment