galacticusorg / installationscripts Goto Github PK
View Code? Open in Web Editor NEWInstallation scripts for the Galacticus galaxy formation model
Installation scripts for the Galacticus galaxy formation model
The Linux installation script misses some optional build dependencies - these should be added.
Hi Andrew,
I am trying to install Galacticus from source code, such that I can learn from the code a bit of Astrophysics.. I am running on a up to date CentOs9 system. After installing, as root, normal install, using usual yum of dnf, most dependency packkages (except qhull..for some unknown reason, it got re-install in galacticus-master/galacticusInstallWork), the script ran fine, but stop on F90 compiler error, handling the hdf5 package. The relevant part of the log file is:
building Galacticus
--> make -j1 Galacticus.exe
gfortran -c ./work/build/utility.IO.HDF5.p.F90 -o ./work/build/utility.IO.HDF5.o -ffree-line-length-none -frecursive -DBUILDPATH='./work/build' -J./work/build/moduleBuild/ -I./work/build/ -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/finclude -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/include -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/include/gfortran -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/lib/gfortran/modules -fintrinsic-modules-path /usr/local/finclude -fintrinsic-modules-path /usr/local/include/gfortran -fintrinsic-modules-path /usr/local/include -fintrinsic-modules-path /usr/lib/gfortran/modules -fintrinsic-modules-path /usr/include/gfortran -fintrinsic-modules-path /usr/include -fintrinsic-modules-path /usr/finclude -fintrinsic-modules-path /usr/lib64/gfortran/modules -L/home/lebrun/Galacticus/Tools/lib -L/home/lebrun/Galacticus/Tools/lib64 -pthread -Wall -fbacktrace -ffpe-trap=invalid,zero,overflow -fdump-core -O3 -ffinite-math-only -fno-math-errno -fopenmp -g -DPROCPS -DOFDAVAIL -DFFTW3AVAIL -DANNUNAVAIL -DQHULLUNAVAIL -DMATHEVALUNAVAIL 2>&1 | ./scripts/build/postprocess.pl ./work/build/utility.IO.HDF5.p.F90
source/utility.IO.HDF5.F90; line 454 [preprocessed line 543]; code 43
543 | & H5T_NATIVE_DOUBLE, H5T_NATIVE_INT, H5T_NATIVE_INT_8, H5T_STD_I32BE , &
| 1
Error: Symbol ‘h5t_native_int’ referenced at (1) not found in module ‘hdf5’
source/utility.IO.HDF5.F90; line 454 [preprocessed line 543]; code 59
543 | & H5T_NATIVE_DOUBLE, H5T_NATIVE_INT, H5T_NATIVE_INT_8, H5T_STD_I32BE , &
| 1
Error: Symbol ‘h5t_native_int_8’ referenced at (1) not found in module ‘hdf5’
source/utility.IO.HDF5.F90; line 1342 [preprocessed line 1572]; code 90
....
No idea why H5T_NATIVE would cause problems.. The version of hfdf5 is
root@syn-2603-7080-ff01-8658-0000-0000-0000-1b5a lebrun]# yum info hdf5-devel
Last metadata expiration check: 1:51:03 ago on Fri 05 Jul 2024 12:58:41 PM EDT.
Installed Packages
Name : hdf5-devel
Version : 1.12.1
Release : 7.el9.1
Architecture : x86_64
Size : 3.9 M
Source : hdf5-1.12.1-7.el9.1.src.rpm
Repository : @System
From repo : epel
Summary : HDF5 development files
URL : https://portal.hdfgroup.org/display/HDF5/HDF5
License : BSD
Description : HDF5 development headers and libraries.
[root@syn-2603-7080-ff01-8658-0000-0000-0000-1b5a lebrun]#
Thanks
Paul
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.