sorry, here are my logs
On Fri, 23 Jul 2021 at 22:40, Tomas Andrade tandrade@icc.ub.edu wrote:
I see, thank you, Roland!
I loaded the gcc module and I'm not getting that error anymore. However, there is now another error related to dwarf
/usr/bin/ld: Dwarf Error: found dwarf version '7424', this reader only handles version 2, 3 and 4 information.
/home/lv65/lv65221/ETK/Cactus/configs/sim/scratch/external/MPI/lib/libopen-pal.a(btl_openib_async.o): In function `btl_openib_async_device':
btl_openib_async.c:(.text+0x3a9): undefined reference to `ibv_get_async_event'
btl_openib_async.c:(.text+0x43d): undefined reference to `ibv_ack_async_event'
btl_openib_async.c:(.text+0x79d): undefined reference to `ibv_get_device_name'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/lv65/lv65221/ETK/Cactus/exe/cactus_sim] Error 1
make: *** [sim] Error 2
Googling a bit, it seems that this can be solved specifying some compilation flags correctly, but I don't have enough experience to do it.
Have you seen this behaviour before?
thanks! Tomas
On Fri, 23 Jul 2021 at 17:36, Roland Haas rhaas@illinois.edu wrote:
Hello Tomas,
thank you Roland for your super quick response!
If I do 'module avail', I see that the default gcc compiler is gcc/11.1 (the earliest version being gcc/8.2), do you know why the build could
take
another version?
The one marked "default" is the default one when using modules, ie if you do (schematically):
module load gcc
it will load gcc/11.1.
However you must use "module load gcc", if you do nothing at all, then your compile will use the system installed gcc compiler (from the RedHat Linux base system) in /usr/bin.
Yours, Roland
-- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://pgp.mit.edu .