Skip to content

Make fails with library '9290' not found error #128

Description

@rogermc2

Mac OSX 14.7
XCode 16.0
GNU Fortran (Homebrew GCC 14.1.0) 14.1.0

Following build instructions in GRASP2018-manual:
source ./make_environment_gfortran_UBC
cd src
make clean
make

make gets as far as:
....Leaving: appl
Entering: tool
gfortran -o /System/Volumes/Data/Applications_Packages/grasp-2018-12-03/lib/bin/rcsfblock rcsfblock.o -L/System/Volumes/Data/Applications_Packages/grasp-2018-12-03/lib/lib -l9290 -lmod -llapack -lblas
ld: library '9290' not found
collect2: error: ld returned 1 exit status
make[1]: *** [/System/Volumes/Data/Applications_Packages/grasp-2018-12-03/lib/bin/rcsfblock] Error 1
....Leaving: tool

Source of error found in files contained earlier in the build such as iniest2.f90.

Make Error message:
gfortran -c -O2 -fno-automatic iniest2.f90 -I ../libmod -I . -o iniest2.o
iniest2.f90:82:23:

79 | CALL DCOPY (NS, VEC(NS*(J-1)+1), 1, BASIS(NCF*(J-1)+1), 1)
| 2
......
82 | CALL DCOPY (NIV, EIGVAL, 1, BASIS(NIV*NCF+1), 1)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
make[2]: *** [iniest2.o] Error 1

I overcame this by using the -fallow-argument-mismatch option; but is this an acceptable solution?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions