Forums » Postprocessing »
Error compiling the COSMO Library (aka cosmolib)
Added by Simon Krichak over 7 years ago
Hello,
We are attempting to compile the library on a linux machine.
The compilation crashes however with the following error:
COMPILING REGRD2D.f90
REGRD2D.f90:231.27:
CALL polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &
1
Error: Procedure 'polyfit_fill' at (1) with assumed-shape dummy argument 'a' must have an explicit interface
REGRD2D.f90:69.62:
REAL :: polyfit_solve
1
Error: Procedure 'polyfit_solve' at (1) with assumed-shape dummy argument 'a' must have an explicit interface
LINKING
gcc: error: REGRD2D.o: No such file or directory
rm: cannot remove `REGRD2D.o': No such file or directory
END WRAPIT
ERROR: problem compiling REGRD2D.f90
make: *** [external] Error 1
Could you recommend me any solution, please.
Just as a guess. It looks like that the problem is a consequence of the fact that the Fortran 99, 95, and 2003 standards require a procedure that has one or more assumed-shape dummy arguments to have explicit interface in any scoping unit in which it appears. I assume that the interface block is present somewhere. May it be just copied to the subroutine?
Simon Krichak
Replies (3)
RE: Error compiling the COSMO Library (aka cosmolib)
-
Added by Simon Krichak over 7 years ago
Hello,
We are attempting to compile the library on a linux machine.
The compilation crashes however with the following error:
COMPILING REGRD2D.f90
REGRD2D.f90:231.27:
CALL polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &
1
Error: Procedure 'polyfit_fill’ at (1) with assumed-shape dummy argument 'a’ must have an explicit interface
REGRD2D.f90:69.62:
REAL :: polyfit_solve
1
Error: Procedure 'polyfit_solve’ at (1) with assumed-shape dummy argument 'a’ must have an explicit interface
LINKING
gcc: error: REGRD2D.o: No such file or directory
rm: cannot remove `REGRD2D.o’: No such file or directory
END WRAPIT
ERROR: problem compiling REGRD2D.f90
make: *** [external] Error 1
Could you recommend me any solution, please.
I have noticed that the same problem has been encountered by Abdoulaye Sarr (04/27/2014) while
compiling grads_rotated_grid.f90. It appears that both of us make the same mistake - some library
is missing or outdated possibly.
Could you recommend me any solution, please.
Regards, Simon
RE: Error compiling the COSMO Library (aka cosmolib)
-
Added by Burkhardt Rockel over 7 years ago
I did not receive an email notification on your question, therefore I try it myself:
Hello,
We are attempting to compile the library on a linux machine.
The compilation crashes however with the following error:
COMPILING REGRD2D.f90
REGRD2D.f90:231.27:
CALL polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &
1
Error: Procedure 'polyfit_fill’ at (1) with assumed-shape dummy argument 'a’ must have an explicit interface
REGRD2D.f90:69.62:
REAL :: polyfit_solve
1
Error: Procedure 'polyfit_solve’ at (1) with assumed-shape dummy argument 'a’ must have an explicit interface
LINKING
gcc: error: REGRD2D.o: No such file or directory
rm: cannot remove `REGRD2D.o’: No such file or directory
END WRAPIT
ERROR: problem compiling REGRD2D.f90
make: *** [external] Error 1
Could you recommend me any solution, please.
I have noticed that the same problem has been encountered by Abdoulaye Sarr (04/27/2014) while
compiling grads_rotated_grid.f90. It appears that both of us make the same mistake - some library
is missing or outdated possibly.
Could you recommend me any solution, please.
Regards, Simon
RE: Error compiling the COSMO Library (aka cosmolib)
-
Added by Burkhardt Rockel over 7 years ago
Test mail - Please ignore - Email notification test