[Users] Problem installation Einstein Toolkit
Elena Luisa Goria
e.goria at campus.unimib.it
Wed Aug 28 11:06:45 CDT 2024
Thank you very much, following your suggestion I succeeded to compile it.
Best regards,
Elena
> Il giorno 26 ago 2024, alle ore 19:35, Roland Haas <rhaas at illinois.edu> ha scritto:
>
> Hello Elena,
>
>> Thank you for answering. I still have problems. This is the output of
>> the compilation before the error:
>
> Thanks for including the log file.
>
> The error show there is
>
> --8<--
> ld: library not found for -lsz
> collect2: error: ld returned 1 exit status
> --8<--
>
> indicating that the linker did not find the libsz library file. This
> library is used by HDF5.
>
> The log file does not quite contain enough information to let me know
> which HDF5 was used. For that it would have to be a log file form a
> fresh compilation, eg after removing the `configs` directory using
>
> rm -rf configs
>
> Looking at the Option list (and the paths in the error messages) this
> seems to be a macOS laptop using macports, yes?
>
> In that case the first thing to check would be that you have installed
> the packages listed under the "Prerequisites" section in
>
> https://github.com/einsteintoolkit/jupyter-et/blob/master/tutorial-server/notebooks/CactusTutorial.ipynb
>
> Which will install a copy of hdf5 from macports.
>
> Though, having just tested this on my own macbook (Sonoma 14.6.1,
> newest XCode and macports) I get the same error. So let's see...
>
> Ok, there's a libsz in
>
> /opt/local/lib/libaec/lib/
>
> which (one way, not the best but should do for now until I can update
> the instructions more properly) can be made available by doing
>
> ```
> export LIBRARY_PATH=/opt/local/lib/libaec/lib
> ```
>
> before running `sim build`.
>
> With this I still get some warnings that are however harmless and I can
> run the resulting executable. Eg
>
> ```
> ./exe/cactus_sim -T
> ```
>
> which will output a (long) list of all compiled in thorns.
>
> 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 .
More information about the Users
mailing list