Open Sezoir opened 2 years ago
https://geodynamics.org/cig/software/sw4/ https://github.com/geodynamics/sw4
This project requires the following:
For this report I used openblas as a replacement for both blas and lapack.
git clone https://github.com/geodynamics/sw4.git
cd sw4
cd configs
cp make.linux make.inc
/usr/lib64
and then you can skip step 4 and 5.OPENBLAS_DIR
environment variable to the appropriate path to your OPENBLAS build directory. make.inc
file. For modifying the make.inc
file, under EXTRA_LINK_FLAGS
variable replace -L/usr/lib64 -llapack -lblas
with -L${OPENBLAS_DIR}/lib -lopenblas
.make.inc
file "if required".cd ../
make
make.inc
file to flang-new results in being able to compile the Fortran files, but then getting a lot of linker errors due to a lot of undefined references.
Enable building and execution of the sw4 application with the LLVM Flang compiler.