Skip to content

Commit 73e8b6c

Browse files
committed
update
1 parent e85c88e commit 73e8b6c

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ author = {Roccon, A. and Soligo, G. and Soldati, A.},
1717
}
1818
```
1919

20+
Webminar on FLOW36 available on [Cassyni](https://cassyni.com/events/QYj3h1ohsebWbK8AFdiPJd)
21+
2022

2123
## Main Developers:
2224
G. Soligo (https://github.com/giovannisoligo) \
@@ -45,15 +47,21 @@ Click [here](http://calliope.dem.uniud.it) for a list of the published works
4547
## Validation data and initial fields:
4648
Click [here](https://doi.org/10.6084/m9.figshare.26232683) for the validation data shown in the manuscript
4749

48-
49-
## How to:
50-
See the handbook in the flow36_handbook folder
51-
50+
## How to run the code:
51+
- Clone the repository
52+
- Edit the compile.sh file; select the configurations you want to run and the modules you want to load (many EUROHPC supercomputer configs are available as well as for different compilers: GNU, Nvidia, AMD, Intel, IBM, etc.). Simulation parameters can be defined after the machine configuration section.
53+
- Execute the compile.sh file (bash script); this will create the folder the set_run folder. Inside the folder, you will find the results folder and the sc_compiled folder where the source code compiled and the main executable (flow36) are present.
54+
- Run the code using mpirun or edit/create the SLURM file for the respective machine.
55+
- The resulting fields will be located in set_run/results and can be visualized using paraview. Paraview files can be generated using the paraview_output_fg post-processing code.
5256

5357
## Packages/libraries required:
54-
- Fortran compiler (tested with gfortran, ifort, nvfortran, ftn and xlf)
55-
- MPI Library (tested with MPICH, Spectrum, IntelMPI, OpenMPI)
56-
- FFTW library (for CPU runs)
57-
- cuFFT library (for GPU runs, please install the Nvidia HPC-SDK)
58-
59-
58+
- For CPU runs:
59+
- Fortran compiler (tested with gfortran, ifort, nvfortran, ftn and xlf)
60+
- MPI Library (tested with MPICH, Spectrum, IntelMPI, OpenMPI)
61+
- FFTW library or MKL library (if using intel)
62+
- For GPU runs:
63+
- Nvidia HPC-SDK (> 22.X), this by default contains the compiler, the cuFFT and the openMPI libraries.
64+
65+
## Contributing
66+
We welcome all contributions that can enhance FLOW36, including bug fixes, performance improvements, and new features.
67+
If you would like to contribute, please contact aroccon or open an Issue in the repository.

Tersicore_gpu/go.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
NVARCH=Linux_x86_64; export NVARCH
22
NVCOMPILERS=/opt/nvidia/hpc_sdk; export NVCOMPILERS
3-
MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/23.1/compilers/man; export MANPATH
4-
PATH=$NVCOMPILERS/$NVARCH/23.1/compilers/bin:$PATH; export PATH
5-
export PATH=$NVCOMPILERS/$NVARCH/23.1/comm_libs/mpi/bin:$PATH
6-
export MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/23.1/comm_libs/mpi/man
3+
MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/25.7/compilers/man; export MANPATH
4+
PATH=$NVCOMPILERS/$NVARCH/25.7/compilers/bin:$PATH; export PATH
5+
export PATH=$NVCOMPILERS/$NVARCH/25.7/comm_libs/mpi/bin:$PATH
6+
export MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/25.7/comm_libs/mpi/man
77
mpirun -n NUMTASKS ./sc_compiled/flow36

compile.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ cp ./Tersicore_gpu/go.sh ./go.sh
213213
#Setup the environment (otherwise gfortran is used)
214214
NVARCH=Linux_x86_64; export NVARCH
215215
NVCOMPILERS=/opt/nvidia/hpc_sdk; export NVCOMPILERS
216-
MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/24.3/compilers/man; export MANPATH
217-
PATH=$NVCOMPILERS/$NVARCH/24.3/compilers/bin:$PATH; export PATH
218-
export PATH=$NVCOMPILERS/$NVARCH/24.3/comm_libs/mpi/bin:$PATH
219-
export MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/24.3/comm_libs/mpi/man
216+
MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/25.7/compilers/man; export MANPATH
217+
PATH=$NVCOMPILERS/$NVARCH/25.7/compilers/bin:$PATH; export PATH
218+
export PATH=$NVCOMPILERS/$NVARCH/25.7/comm_libs/mpi/bin:$PATH
219+
export MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/25.7/comm_libs/mpi/man
220220
savespectral="0"
221221
openacc_flag="1"
222222

postprocessing_tools/.DS_Store

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)