- #1
lolay
- 4
- 0
i"logical" error?
Hi all,
I hope you can help me with this. I'm running a long and complicated model (I didn't created it) which is written in both fortran and c++. Both parts of the model are compiled together by using a makefile, and I'm using the GNU compilers for it (gfortran and gcc).
Running the makefile I get this error from the fortran part:
dyn1003-29:Macvs1-fromHPvs2 LLM$ make
gfortran -x f77-cpp-input -o main-std.o -c main.f
main.f:10879.12:
IF (present(pft)==.TRUE.) THEN !.AND.tree(pft)=
1
Error: Logicals at (1) must be compared with .EQV. instead of .eq.
make: *** [main-std.o] Error 1
Do you have any clue of where this can come from?
Thanks in advance!
Hi all,
I hope you can help me with this. I'm running a long and complicated model (I didn't created it) which is written in both fortran and c++. Both parts of the model are compiled together by using a makefile, and I'm using the GNU compilers for it (gfortran and gcc).
Running the makefile I get this error from the fortran part:
dyn1003-29:Macvs1-fromHPvs2 LLM$ make
gfortran -x f77-cpp-input -o main-std.o -c main.f
main.f:10879.12:
IF (present(pft)==.TRUE.) THEN !.AND.tree(pft)=
1
Error: Logicals at (1) must be compared with .EQV. instead of .eq.
make: *** [main-std.o] Error 1
Do you have any clue of where this can come from?
Thanks in advance!