You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lapack (for this report I used openblas which has lapack included with it)
Initial report for thornado:
Minimum version of Fortran required using gfortran: F2008
Required arguments to compile with version: "-fdec"
How to compile with gfortran:
First you can download the project by running in bash:
git clone https://github.com/ECP-Astro/thornado_mini.git
cd thornado_mini
Now download this patch thornado.patch.txt and remove the .txt extension. This patch just adds support for mpi gnu. Support for compilers can be added by modifying the Build/Makefile_Compilers makefile. You can then apply the patch with:
git am -3 thornado.patch
Next load your hdf5 and openblas modules. Alternatively, you can manually set the following environment variables appropriately: HDF5_INC, OPENBLAS_INC, HDF5_LIB, OPENBLAS_LIB.
Now you can compile the project by running:
cd DeleptonizationProblem/Executables
make THORNADO_DIR=../../ THORNADO_MACHINE=gnu
In order to do a clean build, you can use: make THORNADO_DIR=../../ clean
Does it compile with flang-new: No
Requires an MPI compiler, which flang-new does not currently support. You may be able to hack ompi to add support for flang-new since it is just a wrapper compiler, but I am not sure how much effort would be required.
A quick test in substituting the MPI Fortran compiler with flang-new results in us requiring MPI library before any other potential compiler errors.
Enable building and execution of the Thornado application with the LLVM Flang compiler.
The text was updated successfully, but these errors were encountered: