Skip to content
Snippets Groups Projects
Commit 78bb891b authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann :seedling:
Browse files

Merge branch 'master' of gitlab.epfl.ch:ahoffman/gyacomo

parents 874ee040 9d6a3847
No related merge requests found
...@@ -12,7 +12,9 @@ echo ' / / __/ / / / __ `/ ___/ __ \/ __ `__ \/ __ \' ...@@ -12,7 +12,9 @@ echo ' / / __/ / / / __ `/ ___/ __ \/ __ `__ \/ __ \'
echo '/ /_/ / /_/ / /_/ / /__/ /_/ / / / / / / /_/ /' echo '/ /_/ / /_/ / /_/ / /__/ /_/ / / / / / / /_/ /'
echo '\____/\__, /\__,_/\___/\____/_/ /_/ /_/\____/ ' echo '\____/\__, /\__,_/\___/\____/_/ /_/ /_/\____/ '
echo ' /____/ ' echo ' /____/ '
echo 'This is the GYACOMO code auto installer' echo '---This is the GYACOMO code auto installer----'
echo 'for SPC PCs (openSUSE, intel comp., MPI, HDF5)'
echo 'takes ~5min '
echo '==============================================' echo '=============================================='
# 1. Prelude # 1. Prelude
...@@ -138,24 +140,14 @@ cd FM ...@@ -138,24 +140,14 @@ cd FM
for file in *.f95 ; do cp "$file" "${file%.*}.F90" ; done for file in *.f95 ; do cp "$file" "${file%.*}.F90" ; done
# 4.4 - We compile manually (some compilation may take ~5min). # 4.4 - We compile manually (some compilation may take ~5min).
echo " compiling.. (~5min)" echo " compiling.."
echo " fmsave.." echo " fmsave.."
ifort fmsave.F90 -c -O3 ifort fmsave.F90 -c -O3
echo " fm.." echo " fm.."
ifort fm.F90 -c -O3 ifort fm.F90 -c -O3
echo " fmzm.." echo " fmzm.."
ifort fmzm90.F90 -c -O3 ifort fmzm90.F90 -c -O3
# echo " TestFM.."
# ifort TestFM.F90 -c -O3
# echo " SampleFM.."
# ifort SampleFM.F90 -c -O3
# echo " building all.."
# ifort fmsave.o fm.o fmzm90.o TestFM.o -o TestFM
# ifort fmsave.o fm.o fmzm90.o SampleFM.o -o SampleFM
echo " ..done" echo " ..done"
# 4.5 We can test the installation.
# ./TestFM &> TestFM.out
# ./SampleFM &> SampleFM.out
# 4.6 The library file is put together and moved to a local `lib` directory. # 4.6 The library file is put together and moved to a local `lib` directory.
mkdir lib mkdir lib
...@@ -175,13 +167,14 @@ echo "______________________________________________" ...@@ -175,13 +167,14 @@ echo "______________________________________________"
cd ../ cd ../
echo "5/6 Compilation of GYACOMO" echo "5/6 Compilation of GYACOMO"
make 2>&1 | tee make.out make 2>&1 | tee make.out
echo "-- GYACOMO is ready --"
echo "______________________________________________" echo "______________________________________________"
############################################# #############################################
# 6. setup of a testcase # 6. setup of a testcase
echo "6/6 Test case setup" echo "6/6 Test case setup"
make new_prob make new_prob
echo "-- GYACOMO is ready --" echo ' '
echo "you can test running it using:" echo "you can test running it using:"
echo "cd gyacomo/simulations/problem_01" echo "cd gyacomo/simulations/problem_01"
echo "mpirun -np 4 ./gyacomo.exe 1 4 1" echo "mpirun -np 4 ./gyacomo.exe 1 4 1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment