<div dir="ltr">I see, thank you, Roland! <div><br></div><div>I loaded the gcc module and I'm not getting that error anymore. However, there is now another error related to dwarf<div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">/usr/bin/ld: Dwarf Error: found dwarf version '7424', this reader only handles version 2, 3 and 4 information.</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">/home/lv65/lv65221/ETK/Cactus/configs/sim/scratch/external/MPI/lib/libopen-pal.a(btl_openib_async.o): In function `btl_openib_async_device':</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">btl_openib_async.c:(.text+0x3a9): undefined reference to `ibv_get_async_event'</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">btl_openib_async.c:(.text+0x43d): undefined reference to `ibv_ack_async_event'</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">btl_openib_async.c:(.text+0x79d): undefined reference to `ibv_get_device_name'</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">collect2: error: ld returned 1 exit status</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">make[1]: *** [/home/lv65/lv65221/ETK/Cactus/exe/cactus_sim] Error 1</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">make: *** [sim] Error 2</p><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue""><br></p>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.</div><div><br></div><div>Have you seen this behaviour before?</div><div><br></div><div>thanks!</div><div>Tomas</div><div><br><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 23 Jul 2021 at 17:36, Roland Haas <<a href="mailto:rhaas@illinois.edu">rhaas@illinois.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hello Tomas,<br>
<br>
> thank you Roland for your super quick response!<br>
> <br>
> If I do 'module avail', I see that the default gcc compiler is gcc/11.1<br>
> (the earliest version being gcc/8.2), do you know why the build could take<br>
> another version?<br>
The one marked "default" is the default one when using modules, ie if<br>
you do (schematically):<br>
<br>
module load gcc<br>
<br>
it will load gcc/11.1.<br>
<br>
However you must use "module load gcc", if you do nothing at all, then<br>
your compile will use the system installed gcc compiler (from the RedHat<br>
Linux base system) in /usr/bin.<br>
<br>
Yours,<br>
Roland<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">http://pgp.mit.edu</a> .<br>
</blockquote></div>
<br>
<font face="Arial" size="1" color="#999999">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.<br>
<br>
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.<br>
<br>
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.</font>