Jeff Hammond
Jeff Hammond
I have verified that the SYCL implementation also runs correctly on NVIDIA (Pascal). There is a compiler bug with `printf` on the device that requires me to disable 4 source...
https://apt.llvm.org/ has 17, 18 and 19 (main). please only bother with the latter.
FYI I have verified the following works with XCode 15.3 on Sonoma 14.4, which is the workaround Apple gave me. I also confirmed it works when `gfortran` is used to...
Also, I have tested and even if MPI wasn't using `COMMON`, the same linker behavior is required for Fortran module data to work properly, so one cannot argue that Apple...
@fxcoudert MPI implementations have to use `COMMON` for these. It's necessary because of how the MPI standard defines `mpif.h` and is furthermore required in the MPI Fortran modules until `mpif.h`...
Here are the `GETENV` fixes: ```patch diff --git a/fem/src/SolverUtils.F90 b/fem/src/SolverUtils.F90 index f7c5a0cb4..355f22f8f 100644 --- a/fem/src/SolverUtils.F90 +++ b/fem/src/SolverUtils.F90 @@ -24195,7 +24195,7 @@ CONTAINS ! Check that we have not given the...
The stupidly verbose Fortran-only way to do `RENAME` is below. I haven't tested it yet though. ```patch diff --git a/fem/src/RadiationFactors.F90 b/fem/src/RadiationFactors.F90 index 29faa28a1..55144be07 100644 --- a/fem/src/RadiationFactors.F90 +++ b/fem/src/RadiationFactors.F90 @@ -34,6...
Here's the hacky C fix for `RENAME` ```patch diff --git a/fem/src/f_stubs.c b/fem/src/f_stubs.c index a97a3432e..c1c622082 100644 --- a/fem/src/f_stubs.c +++ b/fem/src/f_stubs.c @@ -73,3 +73,10 @@ void STDCALLBULL FC_FUNC(flush,FLUSH) (int n) /* might...
Cool. Right now, `flang-new` is sort of working, but many tests fail. The ones I looked at were due to files not being found. I can't tell if that is...
Here's the first one. I don't know how to read the error from CMake... ``` test 6 Start 6: AdvDiffFluxes 6: Test command: /usr/local/bin/cmake "-DCMAKE_MODULE_PATH=/home/jehammond/ELMER/elmerfem/cmake/Modules" "/usr/local/share/cmake-3.29/Modules" "-DELMERGRID_BIN=/home/jehammond/ELMER/elmerfem/build/elmergrid/src/ElmerGrid" "-DELMERSOLVER_BIN=/home/jehammond/ELMER/elmerfem/build/fem/src/ElmerSolver_mpi" "-DFINDNORM_BIN=/home/jehammond/ELMER/elmerfem/build/fem/tests/findnorm" "-DMESH2D_BIN=/home/jehammond/ELMER/elmerfem/build/meshgen2d/src/Mesh2D"...