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
The main TeaLeaf repository contains several different versions of TeaLeaf for different implementations of TeaLeaf. For compiling with Fortran, we are interested in the TeaLeaf_ref repository.
Initial report for TeaLeaf_ref:
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/UK-MAC/TeaLeaf_ref.git
cd TeaLeaf_ref
For this project you require an MPI compiler. For this I used openmpi as a wrapper compiler around gfortran. Now you can compile the project by running:
make COMPILER=GNU MPI_COMPILER=/path/to/mpifort C_MPI_COMPILER=/path/to/mpicc
Where the paths to the MPI compilers are correctly substituted in to your MPI compilers.
Does it compile with flang-new: No
Requires MPI which we don't currently support. Most MPI usage in global_mpi.f90, so you might be able to manually remove/replace required MPI usage.
Error received before MPI required when trying to compile:
$ make COMPILER=GNU MPI_COMPILER=flang-new C_MPI_COMPILER=clang-12
error: loc("./pack_kernel.f90":162:7): /.../f18-llvm-fork/flang/lib/Lower/Bridge.cpp:2091: not yet implemented procedure pointer assignment
make: *** [Makefile:196: pack_kernel.o] Error 1
Enable building and execution of the Tealeaf application with the LLVM Flang compiler.
The text was updated successfully, but these errors were encountered: