Error compiling the COSMO Library (aka cosmolib) – in #13: Postprocessing

in #13: Postprocessing

<p> Hello, <br/> We are attempting to compile the library on a linux machine. <br/> The compilation crashes however with the following error: </p> <p> <span class="caps"> COMPILING </span> REGRD2D.f90 <br/> REGRD2D.f90:231.27: </p> <span class="caps"> CALL </span> polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &amp; 1 Error: Procedure ‘polyfit_fill’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface REGRD2D.f90:69.62: <span class="caps"> REAL </span> :: 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 <span class="caps"> WRAPIT </span> <p> <span class="caps"> ERROR </span> : problem compiling REGRD2D.f90 <br/> make: *** [external] Error 1 </p> <p> Could you recommend me any solution, please. </p> <p> 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? <br/> Simon Krichak </p>

  @redc_migration in #f2c612b

<p> Hello, <br/> We are attempting to compile the library on a linux machine. <br/> The compilation crashes however with the following error: </p> <p> <span class="caps"> COMPILING </span> REGRD2D.f90 <br/> REGRD2D.f90:231.27: </p> <span class="caps"> CALL </span> polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &amp; 1 Error: Procedure ‘polyfit_fill’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface REGRD2D.f90:69.62: <span class="caps"> REAL </span> :: 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 <span class="caps"> WRAPIT </span> <p> <span class="caps"> ERROR </span> : problem compiling REGRD2D.f90 <br/> make: *** [external] Error 1 </p> <p> Could you recommend me any solution, please. </p> <p> 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? <br/> Simon Krichak </p>

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
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

View in channel
<p> Hello, <br/> We are attempting to compile the library on a linux machine. <br/> The compilation crashes however with the following error: </p> <p> <span class="caps"> COMPILING </span> REGRD2D.f90 <br/> REGRD2D.f90:231.27: </p> <p> <span class="caps"> CALL </span> polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &amp; 1 <br/> Error: Procedure ‘polyfit_fill’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> REGRD2D.f90:69.62: <br/> REAL :: polyfit_solve 1 <br/> Error: Procedure ‘polyfit_solve’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> LINKING <br/> gcc: error: REGRD2D.o: No such file or directory <br/> rm: cannot remove `REGRD2D.o’: No such file or directory <br/> END WRAPIT <br/> ERROR: problem compiling REGRD2D.f90 <br/> make: *** [external] Error 1 </p> <p> Could you recommend me any solution, please. </p> <p> I have noticed that the same problem has been encountered by Abdoulaye Sarr (04/27/2014) while <br/> compiling grads_rotated_grid.f90. It appears that both of us make the same mistake – some library <br/> is missing or outdated possibly. </p> <p> Could you recommend me any solution, please. <br/> Regards, Simon </p>

  @redc_migration in #e0a03a4

<p> Hello, <br/> We are attempting to compile the library on a linux machine. <br/> The compilation crashes however with the following error: </p> <p> <span class="caps"> COMPILING </span> REGRD2D.f90 <br/> REGRD2D.f90:231.27: </p> <p> <span class="caps"> CALL </span> polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &amp; 1 <br/> Error: Procedure ‘polyfit_fill’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> REGRD2D.f90:69.62: <br/> REAL :: polyfit_solve 1 <br/> Error: Procedure ‘polyfit_solve’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> LINKING <br/> gcc: error: REGRD2D.o: No such file or directory <br/> rm: cannot remove `REGRD2D.o’: No such file or directory <br/> END WRAPIT <br/> ERROR: problem compiling REGRD2D.f90 <br/> make: *** [external] Error 1 </p> <p> Could you recommend me any solution, please. </p> <p> I have noticed that the same problem has been encountered by Abdoulaye Sarr (04/27/2014) while <br/> compiling grads_rotated_grid.f90. It appears that both of us make the same mistake – some library <br/> is missing or outdated possibly. </p> <p> Could you recommend me any solution, please. <br/> Regards, Simon </p>

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

<p> I did not receive an email notification on your question, therefore I try it myself: </p> <p> Hello, <br/> We are attempting to compile the library on a linux machine. <br/> The compilation crashes however with the following error: </p> <p> <span class="caps"> COMPILING </span> REGRD2D.f90 <br/> REGRD2D.f90:231.27: </p> <p> <span class="caps"> CALL </span> polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &amp; <br/> 1 <br/> Error: Procedure ‘polyfit_fill’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> REGRD2D.f90:69.62: <br/> REAL :: polyfit_solve <br/> 1 <br/> Error: Procedure ‘polyfit_solve’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> LINKING <br/> gcc: error: REGRD2D.o: No such file or directory <br/> rm: cannot remove `REGRD2D.o’: No such file or directory <br/> END WRAPIT <br/> ERROR: problem compiling REGRD2D.f90 <br/> make: *** [external] Error 1 </p> <p> Could you recommend me any solution, please. </p> <p> I have noticed that the same problem has been encountered by Abdoulaye Sarr (04/27/2014) while <br/> compiling grads_rotated_grid.f90. It appears that both of us make the same mistake – some library <br/> is missing or outdated possibly. </p> <p> Could you recommend me any solution, please. <br/> Regards, Simon </p>

  @burkhardtrockel in #193f3f0

<p> I did not receive an email notification on your question, therefore I try it myself: </p> <p> Hello, <br/> We are attempting to compile the library on a linux machine. <br/> The compilation crashes however with the following error: </p> <p> <span class="caps"> COMPILING </span> REGRD2D.f90 <br/> REGRD2D.f90:231.27: </p> <p> <span class="caps"> CALL </span> polyfit_fill(ramat(:,:,i_out,j_out), rbvec(:,i_out,j_out), &amp; <br/> 1 <br/> Error: Procedure ‘polyfit_fill’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> REGRD2D.f90:69.62: <br/> REAL :: polyfit_solve <br/> 1 <br/> Error: Procedure ‘polyfit_solve’ at (1) with assumed-shape dummy argument ‘a’ must have an explicit interface <br/> LINKING <br/> gcc: error: REGRD2D.o: No such file or directory <br/> rm: cannot remove `REGRD2D.o’: No such file or directory <br/> END WRAPIT <br/> ERROR: problem compiling REGRD2D.f90 <br/> make: *** [external] Error 1 </p> <p> Could you recommend me any solution, please. </p> <p> I have noticed that the same problem has been encountered by Abdoulaye Sarr (04/27/2014) while <br/> compiling grads_rotated_grid.f90. It appears that both of us make the same mistake – some library <br/> is missing or outdated possibly. </p> <p> Could you recommend me any solution, please. <br/> Regards, Simon </p>

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

<p> Test mail – Please ignore – Email notification test </p>

  @burkhardtrockel in #574e665

<p> Test mail – Please ignore – Email notification test </p>

Test mail – Please ignore – Email notification test