Todo: a few words about floedyn ...
For more information, please visit the FloeDyn documentation.
> git clone git@github.com:FloeDynHub/FloeDyn.git
Assuming that
> cd <source_dir>
> python3 ./waf configure --prefix=<where-you-want-to-install>
Results:
By default, waf looks for dependencies in /usr/. To specify another location (e.g. on clusters using guix or nix), try
> python3 ./waf configure --prefix=<where-you-want-to-install> --default-search-path=<other-path>
# eg --default-search-path=$GUIX_PROFILE on Luke or Dahu
More about waf: https://waf.io/apidocs/tutorial.html
> python3 ./waf --target FLOE -v
# -v is verbose mode, optional
# use --target FLOE_MPI for the parallel version
mpirun -np 2 <path-to>/build/FLOE_MPI -i <input.h5> -t <nb_time_steps>
Some h5 files are available in Floe_Cpp/io/inputs/.
source /applis/site/guix-start.sh
guix package -m ./Floe_Cpp/manifest_floedyn.scm -p $GUIX_USER_PROFILE_DIR/floedyn
source /applis/site/guix-start.sh
guix environment -m ./Floe_Cpp/manifest_floedyn.scm --pure
In both case, use the same process as described above (waf configure and so on) with the --default-search-path=$GUIX_PROFILE option.
An example of a oar script is given in run_simu.sh.
Try
oarsub -S "./run_simu.sh $HOME/Floe_Cpp/io/inputs/in_single_small_floe.h5 20"