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 .

Aquest missatge, i els fitxers adjunts que hi pugui haver, pot contenir informació confidencial o protegida legalment i s’adreça exclusivament a la persona o entitat destinatària. Si no consteu com a destinatari final o no teniu l’encàrrec de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si l’heu rebut per error, informeu-ne el remitent i elimineu  del sistema tant el missatge com els fitxers adjunts que hi pugui haver.

Este mensaje, y los ficheros adjuntos que pueda incluir, puede contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no consta como destinatario final ni es la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo o copiarlo, ni a revelar su contenido. Si lo ha recibido por error, informe de ello al remitente y elimine del sistema tanto el mensaje como los ficheros adjuntos que pueda contener.

This email message and any attachments it carries may contain confidential or legally protected material and are intended solely for the individual or organization to whom they are addressed. If you are not the intended recipient of this message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any part of it. If you have received the message by mistake, please inform the sender of this and eliminate the message and any attachments it carries from your account.