Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation error - V6P1

Compilation error - V6P1 13 years 1 week ago #3013

  • Métivier
  • Métivier's Avatar
Hi,

I am used to version 5p9 of TELEMAC and I currently try to use version 6p1 (we just migrate). When I try to launch a simulation
(with v6p1) using a usual fortran file which works with v5p9, I get the following error :

========================================================================

*** COMPILATION ***

ifort.exe /c /O2 /iface:cref /iface:nomixed_str_len_arg /nologo /names:upperc
ase /convert:big_endian /extend_source:132 /include:C:\telemac\v6p1\telemac2d\
tel2d_v6p1\wintel32s /include:C:\telemac\v6p1\sisyphe\sisyphe_v6p1\wintel32s /in
clude:C:\telemac\v6p1\tomawac\toma_v6p1\wintel32s /include:C:\telemac\v6p1\bief\
bief_v6p1\wintel32s /include:C:\telemac\v6p1\special\special_v6p1\wintel32s /inc
lude:C:\telemac\v6p1\damocles\damo_v6p1\wintel32s /include:C:\telemac\v6p1\parav
oid\paravoid_v6p1\wintel32s t2dfort.f
t2dfort.f(71): error #6404: This name does not have a type, and must have an exp
licit type. [NOMIMP]
IF(OK(I).AND.NOMIMP(1:1).NE.' ') THEN
^
t2dfort.f(71): error #6514: A substring must be of type CHARACTER. [NOMIMP]
IF(OK(I).AND.NOMIMP(1:1).NE.' ') THEN
^
t2dfort.f(84): error #6404: This name does not have a type, and must have an exp
licit type. [NIMP]
CALL READ_FIC_FRLIQ(Q,FCT,AT,NIMP,ENTET,OK(I))
^
t2dfort.f(88): error #6514: A substring must be of type CHARACTER. [NOMIMP]
IF(.NOT.OK(I).OR.NOMIMP(1:1).EQ.' ') THEN
^
t2dfort.f(178): error #6404: This name does not have a type, and must have an ex
plicit type. [NOMIMP]
IF(OK(I).AND.NOMIMP(1:1).NE.' ') THEN
^
t2dfort.f(178): error #6514: A substring must be of type CHARACTER. [NOMIMP]
IF(OK(I).AND.NOMIMP(1:1).NE.' ') THEN
^
t2dfort.f(193): error #6404: This name does not have a type, and must have an ex
plicit type. [NIMP]
CALL READ_FIC_FRLIQ(SL,FCT,AT,NIMP,ENTET,OK(I))
^
t2dfort.f(197): error #6514: A substring must be of type CHARACTER. [NOMIMP]
IF(.NOT.OK(I).OR.NOMIMP(1:1).EQ.' ') THEN
^
compilation aborted for t2dfort.f (code 1)
ERROR : COMPILATION

________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________

========================================================================

Could you help me please!

Thanks in advance,

Vincent
The administrator has disabled public write access.

Re: Compilation error - V6P1 13 years 1 week ago #3014

  • clebouteiller
  • clebouteiller's Avatar
Hello,
I am not sure that it is the solution, but I noticed in my sources that the liquid file is now referred as T2D_FILES(T2DIMP), so in your fortran file, you can try to replace:
NOMIMP by T2D_FILES(T2DIMP)%NAME
NIMP by T2D_FILES(T2DIMP)%LU
Hope it helps,
Caroline
The administrator has disabled public write access.

Re: Compilation error - V6P1 13 years 1 week ago #3015

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
This is exactly right. In theory, when converting a PRINCI file from a previous version t othe new, you should always check that the standard FORTRAN has not changed.

Update every subroutine in your PRINCI file with the one you can find the sources of your system (and re-implement your changes.

Notes that it is rare that we modify the user subroutines that much (to allow applications to be compatible), but a major re-modelling took place as we went over to open source distribution and to v6p0.

Hope this helps.

Sébastien.
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.