Welcome, Guest
Username: Password: Remember me

TOPIC: API compile error

API compile error 2 years 5 months ago #40532

  • omidsaberi
  • omidsaberi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 1
Hi every one ,

I have installed TELEMAC V8P2, I got error at the API installation , I attached the error text and my cfg file. could you please help me to solve it.

Thanks a lot
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: rjj

API compile error 1 year 8 months ago #42185

  • rjj
  • rjj's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
Has your problem been resolved?
The administrator has disabled public write access.

API compile error 1 year 8 months ago #42188

  • omidsaberi
  • omidsaberi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 1
Hi,
no, I didn't , I installed TELEMAC without this option.

B.R
The administrator has disabled public write access.

API compile error 1 year 8 months ago #42189

  • rjj
  • rjj's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
How did you do it? I made the same mistake as you and am currently stagnant.
The administrator has disabled public write access.

API compile error 1 year 8 months ago #42190

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi,

Are you sure you want to compile v8p2 with API?
Not sure this version was easy to compile with API.

You also need to know that you should use the last version of the code as many improvements have been made since v8p2.

You can have a look :
https://gitlab.pam-retd.fr/otm/wintel
The administrator has disabled public write access.

API compile error 1 year 8 months ago #42191

  • rjj
  • rjj's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
Ok, thank you for your prompt suggestion
The administrator has disabled public write access.

API compile error 1 year 8 months ago #42195

  • rjj
  • rjj's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
1.png

How to do this step?
The administrator has disabled public write access.

API compile error 1 year 8 months ago #42196

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi,

You just have to clone the wintel repository on your computer (C:\wintel in the example).

And then, run build-telemac-deps.bat

If you are not familiar with git, you can just download the zip from the repository and unzip it on your C:\

And then, run build-telemac-deps.bat
The administrator has disabled public write access.

API compile error 1 year 8 months ago #42213

  • rjj
  • rjj's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
Hello, I encountered such an error.



Microsoft Windows [版本 10.0.19045.2728]
(c) Microsoft Corporation。保留所有权利。

C:\Users\JunJieRu>cd../..

C:\>set TELEMACDEPS=C:\telemac-deps

C:\>telemac-mascaret\configs\pysource.win.bat

C:\>compile_telemac.py


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_
(_)
_ __ ___ __ _ _ _ __
| '_ ` _ \ / _` || || '_ \
| | | | | || (_| || || | | |
|_| |_| |_| \__,_||_||_| |_|



_
(_)
__ __ _ _ __
\ \ /\ / /| || '_ \
\ V V / | || | | |
\_/\_/ |_||_| |_|



Scanning the source code for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

win:


+> Windows static build using Mingw and MS-MPI

+> root: C:\telemac-mascaret
+> module: ad / api / artemis / bief
damocles / gaia / gretel / hermes
identify_liq_bnd / khione / mascaret / nestor
parallel / partel / postel3d / sisyphe
special / stbtel / telemac2d / telemac3d
tomawac / waqtel


Compiling from the tree top api plus dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> Compile / Assemble / Link
'mpif90' Not an internal or external command, nor a runnable program or batch files.
] 0% | ---s
Traceback (most recent call last):
File "C:\telemac-mascaret\scripts\python3\compile_telemac.py", line 142, in <module>
main()
File "C:\telemac-mascaret\scripts\python3\compile_telemac.py", line 129, in main
compile_cmdf(options.ncsize, modules, options.verbose)
File "C:\telemac-mascaret\scripts\python3\compilation\compil_tools.py", line 1252, in compile_cmdf
raise TelemacException(\
utils.exceptions.TelemacException:
+> failed: ...telemac-mascaret\sources\utils\special\declarations_special.F
... The following command failed for the reason in the listing
mpif90 -c -O2 -cpp -fconvert=big-endian -frecord-marker=4 -DHAVE_I16 -DHAVE_MPI -DHAVE_MUMPS -DHAVE_MED -DHAVE_AED2 -DHAVE_GOTM -I C:\telemac-mascaret\builds\win\obj\utils\special -I C:\telemac-mascaret\builds\win\obj\utils\damocles -I C:\telemac-mascaret\builds\win\obj\utils\parallel -I C:\telemac-mascaret\builds\win\obj\utils\hermes -I C:\telemac-mascaret\builds\win\obj\utils\bief -I C:\telemac-mascaret\builds\win\obj\nestor -I C:\telemac-mascaret\builds\win\obj\utils\ad -I C:\telemac-mascaret\builds\win\obj\tomawac -I C:\telemac-mascaret\builds\win\obj\sisyphe -I C:\telemac-mascaret\builds\win\obj\waqtel -I C:\telemac-mascaret\builds\win\obj\khione -I C:\telemac-mascaret\builds\win\obj\gaia -I C:\telemac-mascaret\builds\win\obj\telemac2d -I C:\telemac-mascaret\builds\win\obj\utils\gretel -I C:\telemac-mascaret\builds\win\obj\utils\partel -I C:\telemac-mascaret\builds\win\obj\telemac3d -I C:\telemac-mascaret\builds\win\obj\artemis -I C:\telemac-mascaret\builds\win\obj\api -I%MEDHOME%/include -I%MUMPSHOME%/include -I%AEDHOME%/include -I%GOTMHOME%/include C:\telemac-mascaret\sources\utils\special\declarations_special.F

C:\>


1_2023-03-20.png


2.png
The administrator has disabled public write access.

API compile error 1 year 7 months ago #42356

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
I just updated the wintel repository to provide a batch file that can build the whole TELEMAC system instead of just its dependencies. I think this should solve your problem.
The administrator has disabled public write access.
Moderators: borisb

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