Installation on Fedora 40

62 views
Skip to first unread message

Balogh Szabolcs

unread,
Apr 26, 2024, 11:02:15 AMApr 26
to NWChem Forum
Hi, 

I am trying to install NWChem 7.2.2 on Fedora but the compilation fails right at the beginning.
It has a problem with scalapack instalaltion i see. But how can i solve it? Thank you if someone can check on this.

Config:
export NWCHEM_TOP=$HOME/Downloads/nwchem-7.2.2
export NWCHEM_TARGET=LINUX64
export NWCHEM_MODULES=all 
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export USE_NOIO=TRUE
export PATH=$PATH:/usr/lib64/openmpi/bin/
export MRCC_METHODS=TRUE
export CCSDTQ=TRUE
export BUILD_OPENBLAS=1
export BUILD_SCALAPACK=1
export BLAS_SIZE=8
export SCALAPACK_SIZE=8

System:
NAME="Fedora Linux"
VERSION="40 (KDE Plasma)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (KDE Plasma)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="KDE Plasma"
VARIANT_ID=kde


make.log
Message has been deleted

Edoardo Aprà

unread,
Apr 27, 2024, 1:53:37 PMApr 27
to NWChem Forum
I have deleted my previous message since I did not contain the correct fix.

Please try the following patch

cd $NWCHEM_TOP/
patch -p1 <  482f7256fa8e28c653386dae417b868feb1be4c8.patch
cd src
make

Balogh Szabolcs

unread,
Apr 29, 2024, 9:07:43 AMApr 29
to NWChem Forum
Dear Edoardo,

Thank you for the quick reply. I will try it soon.

Szabolcs

Balogh Szabolcs

unread,
Apr 29, 2024, 9:07:53 AMApr 29
to NWChem Forum
Dear Edoardo, 

Now it works for some time and then quits with the following error.

If you suggest to go back to Ubuntu its not a problem. The intention with Fedora was that it contains much math programs by default. I was hoping this would make tests easier.

Szabolcs

Edoardo Aprà a következőt írta (2024. április 27., szombat, 19:53:37 UTC+2):
make.log

Edoardo Aprà

unread,
Apr 29, 2024, 1:21:53 PMApr 29
to NWChem Forum
It seems that your openblas build is not quite right.
Could you try to recompile and post the compile log?
cd $NWCHEM_TOP/src/libext/openblas
make clean
make

The file to post is $NWCHEM_TOP/src/libext/openblas/OpenBLAS/openblas.log

Balogh Szabolcs

unread,
Apr 30, 2024, 4:43:19 PMApr 30
to NWChem Forum
The  *make clean* resulted in the following response in the terminal:
:~/Downloads/nwchem-7.2.2/src/libext/openblas$ make clean
GNUmakefile:15: warning: overriding recipe for target 'clean'
../../config/makelib.h:310: warning: ignoring old recipe for target 'clean'


openblas.log

Edoardo Aprà

unread,
Apr 30, 2024, 8:01:10 PMApr 30
to NWChem Forum
Please try the following patch for your OpenBLAS build problems

cd $NWCHEM_TOP/
patch -p1 <  4b883a64e5edc323601bb79e039d521b6b28e5ef.patch
cd src
make

Balogh Szabolcs

unread,
May 3, 2024, 9:57:18 AMMay 3
to NWChem Forum
Still error messages
Please find the log attached copied from terminal.
nwchem make log

Edoardo Aprà

unread,
May 3, 2024, 3:25:23 PMMay 3
to NWChem Forum
Unfortunately this log does not correspond to the patch.

Balogh Szabolcs

unread,
Jun 12, 2024, 11:13:59 AMJun 12
to NWChem Forum
So i dont know what was the culprit but the same installation attempt on Ubuntu resulted in the same error, so the problem was not Fedora-related.
Thank you again for your time

Timur Zalialiutdinov

unread,
Jun 12, 2024, 12:02:33 PMJun 12
to NWChem Forum
Fedora has pre-built nwchem in the standard repositories.

Here is my instruction:

install via dnf

nwchem
nwchem-common
nwchem-mpich
nwchem-openmpi
ga-openmpi
environment-modules

then 

add to .bashrc "source /etc/profile.d/nwchem.sh --force >/dev/null 2>&1"

module load mpi/openmpi-x86_64

nwchem_openmpi

or

module load mpi/mpich-x86_64

nwchem_mpich

среда, 12 июня 2024 г. в 18:13:59 UTC+3, Balogh Szabolcs:
Reply all
Reply to author
Forward
0 new messages