[Users] Compiling on DiRAC DIaL

Roland Haas rhaas at illinois.edu
Thu Jun 3 09:20:42 CDT 2021


Hello Matt,

glad to have been able to help.

Yours,
Roland

> Hi Roland,
> 
> both of your suggestions worked, thanks!
> 
> Matt
> 
> 
> ________________________________
> From: Roland Haas
> Sent: Wednesday, May 19, 2021 6:31 PM
> To: Elley, Matthew
> Cc: users at einsteintoolkit.org
> Subject: Re: [Users] Compiling on DiRAC DIaL
> 
> Hello Matt,
> 
> > Cactus/arrangements/ExternalLibraries/PAPI/src/stats.c(20): catastrophic error: cannot open source file "papi.h"
> >   #include <papi.h>
> >
> > I cannot find the header file anywhere (i.e. in ET or /usr/include)
> > so I am not sure how to proceed. Is PAPI a necessary library for ET
> > function?  
> If you use PAPI_DIR=BUILD to make Cactus build PAPI itself (which you
> seem to do) then it will install the created PAPI library to
> 
> 
> Cactus/configs/ET_dirac/scratch/external/PAPI
> 
> and the include file would be there.
> 
> Cactus at that point should set up a include search path to find files
> there, which you can check in:
> 
> Cactus/configs/ET_dirac/bindings/Configuration/Capabilities/make.PAPI.defn
> 
> > Compiling with it excluded from the thornlist gives me
> >
> > /usr/bin/ld: cannot find -lsz
> > make[1]: ***
> > [/lustre/dirac/home/dc-elle1/ET/Cactus/exe/cactus_ET_dirac] Error 1
> >
> > which I am not sure is connected as I am compiling from scratch.  
> That one I suspect is actually being pulled in by HDF5 which can use
> the sz library but I have seen systems (Windows using MSYS admittedly)
> where the sz library was called szip.
> 
> The actual line that cases the failure is probably this one:
> 
> https://urldefense.com/v3/__https://github.com/EinsteinToolkit/ExternalLibraries-HDF5/blob/abf8dbf78e767b7e2ae3e96b098af3dceb5dede0/src/detect.sh*L188__;Iw!!DZ3fjg!shDtZ8tzEJaViLaSiZ9egkpA0CW2PrBuSLnpCcFLGsCHdNOgcQZ8OZbIGU88qiOQ$ 
> 
> You could try two things to avoid this:
> 
> 1. build your own HDF5 by setting HDF5_DIR=BUILD
> 2. find out where libsz.so or libsz.a are located (by using he "module
> show" command on the HDF5 module or asking the admins) and adding that
> directory to HDF5_LIB_DIRS
> 
> Please see
> 
> https://urldefense.com/v3/__https://www.einsteintoolkit.org/thornguide/ExternalLibraries/HDF5/documentation.html__;!!DZ3fjg!shDtZ8tzEJaViLaSiZ9egkpA0CW2PrBuSLnpCcFLGsCHdNOgcQZ8OZbIGUL37T9-$ 
> 
> and
> 
> https://urldefense.com/v3/__https://www.einsteintoolkit.org/usersguide/UsersGuide.html*x1-21000B2.2__;Iw!!DZ3fjg!shDtZ8tzEJaViLaSiZ9egkpA0CW2PrBuSLnpCcFLGsCHdNOgcQZ8OZbIGXMPkTkx$ 
> 
> for details on these option list variables.
> 
> Yours,
> Roland
> 
> >
> > Thanks,
> >
> > Matt
> >  
> 
> 
> --
> My email is as private as my paper mail. I therefore support encrypting
> and signing email messages. Get my PGP key from https://urldefense.com/v3/__http://pgp.mit.edu__;!!DZ3fjg!shDtZ8tzEJaViLaSiZ9egkpA0CW2PrBuSLnpCcFLGsCHdNOgcQZ8OZbIGWMYPvC1$  .


-- 
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 .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20210603/f122b3ac/attachment.bin 


More information about the Users mailing list