[Users] Compiling on DiRAC DIaL
Elley, Matthew
matthew.elley at kcl.ac.uk
Mon May 31 11:50:34 CDT 2021
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://github.com/EinsteinToolkit/ExternalLibraries-HDF5/blob/abf8dbf78e767b7e2ae3e96b098af3dceb5dede0/src/detect.sh#L188
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://www.einsteintoolkit.org/thornguide/ExternalLibraries/HDF5/documentation.html
and
https://www.einsteintoolkit.org/usersguide/UsersGuide.html#x1-21000B2.2
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 http://pgp.mit.edu .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20210531/c7e3b068/attachment.html
More information about the Users
mailing list