Closed jeffhammond closed 3 months ago
This is how I compile and the environment variables at runtime.
git clean -dfx ; MPI_HOME=/opt/ompi/llvm FC=/opt/llvm/latest/bin/flang-new CC=/opt/llvm/latest/bin/clang CXX=/opt/llvm/latest/bin/clang++ CMAKE_INSTALL_PREFIX=$HOME/ELMER/install CFLAGS="-std=gnu89" cmake ..
make -j32
make install
export PATH=$PATH:/home/jehammond/ELMER/install/bin
export LD_LIBRARY_PATH=/opt/ompi/llvm/lib:$LD_LIBRARY_PATH
export ELMER_HOME=/home/jehammond/ELMER/install
The std out and err of the run can be found in the test directory: /home/jehammond/ELMER/elmerfem/build/fem/tests/CoupledPoisson9/ Or you can say "CTEST_OUTPUT_ON_FAILURE=1" to have the std out outputted while running tests.
To get more indicators what could go wrong one can add the "Max Output Level" flag in the sif file from typical value 5..10 to 20..30. A test is passed if one or several norms are consistent with the provided ones.
Unfortunately there can be tons of reasons why this would be the case ranging from complete core dump to just missing it by ~1e-4 or so.
This test fails because
TEST.PASSED
is missing. I see no diagnostics indicating what caused this file to be absent, or what is wrong here. There are 174 instances of this when I test the build with Flang. I would like to fix the compiler if appropriate. Thanks.