Closed valassi closed 10 months ago
I was able to get rid of the link error with the following setup
module load cray-python
export PATH=~/CCACHE/ccache-4.8.2-INSTALL/bin:$PATH
export CCACHE_DIR=~/CCACHE/ccache
export USECCACHE=1
module load LUMI/23.09 partition/G
module load cpeGNU/23.09
export CC="cc --cray-bypass-pkgconfig -craype-verbose"
export CXX="CC --cray-bypass-pkgconfig -craype-verbose"
export FC="ftn --cray-bypass-pkgconfig -craype-verbose -ffixed-line-length-132"
Unfortunately, this does not fix the crash in #806. The same stack trace remains from gdb.
Note, in order to make the above setup work, I had to reenable multi word CXX for HIP (which must be disabled for CUDA seee #505). This is the fix https://github.com/madgraph5/madgraph4gpu/pull/801/commits/68b589d49bcae9512d490089be7606e8a4a3f5b7
I close this issue. We could try investigating other cray options, but from the point of view of avoiding cray library link errors the above setup is enough I think
To debug #806 I am testing a different compiler version. In particular this seems to be one of the recommended versions according to the login screen?
This is
I found two issues so far.
First, the line number is limited to 80.
Strangely there is no options to extend them in the madevent makefile, I am not sure why it works on gfortran at CERN... I fixed this by adding an option to the wrapper
Second, some special cray libraries muct be added
I did not find a solution yet