Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rogermc2 opened this issue Sep 27, 2024 · 0 comments
Open

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

rogermc2 opened this issue Sep 27, 2024 · 0 comments

Comments

@rogermc2
Copy link

rogermc2 commented Sep 27, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant