Push notifications in your browser are not yet configured.
You are not logged in, you may not see all content and functionalities. If you have an account, please login .
Error compiling the COSMO Library (aka cosmolib)
Hello,
We are attempting to compile the library on a linux machine.
The compilation crashes however with the following error:
COMPILING REGRD2D.f90
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 WRAPITREGRD2D.f90:231.27:
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
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
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
Test mail – Please ignore – Email notification test