GlobalArrays/ga

Build error: scalapack

Closed this issue · 4 comments

This issue is related to the 5.8.1 version (as of 14 Dec 2021). Release 5.8 compiles without errors in the same setup.

Trying to compile in a conda environment, almost identical to https://github.com/conda-forge/nwchem-feedstock/blob/master/recipe/build.sh

libtool: compile:  mpif90 -DHAVE_CONFIG_H -I. -Ima -I./ma -I./LinAlg/lapack+blas -Iglobal/src -I./global/src -I./global/testing -I./pario/dra -I./pario/eaf -I./pario/elio -I./pario/sf -Igaf2c -I./gaf2c -I./tcgmsg -I./tcgmsg/tcgmsg-mpi -I./comex/src-armci -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/azureuser/anaconda3/envs/clean/include -fdefault-integer-8 -fno-aggressive-loop-optimizations -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/azureuser/anaconda3/envs/clean/include -fallow-argument-mismatch -c global/src/scalapack.F -o global/src/scalapack.o
global/src/scalapack.F:2454:15:

 2454 |       if (.not.ga_deallocate(g_b))
      |               1
Error: Function 'ga_deallocate' at (1) has no IMPLICIT type; did you mean 'ga_allocate'?
global/src/scalapack.F:3125:19:

 3125 |            if(.not.ga_deallocate(g_b))
      |                   1

#238 (comment)
A similar problem.

Indeed, this is a similar (the same?) problem, but with a different toolchain. I used GCC 11.2.0.

The 5.8.1 tarball has been updated with fix a84cb63

Duplicated of #238