Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Failed compilation for v8p0 parallel

Failed compilation for v8p0 parallel 5 years 3 months ago #34233

  • Ucef717
  • Ucef717's Avatar
Hi everyone,

i'm a new user of TELEMAC, i managed to run the scalar simulation, and it goes well; but when i wanted to run the parallel simulation i had an issue (as shown it pics).

Hope if someone could help me to go through this issue,

Thank you very much for your time,

Youssef
Attachments:
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 3 months ago #34234

  • PMV
  • PMV's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 149
  • Thank you received: 42
Are you sure the config file exsists is the right directory, your explorer shows «v8p0\configs» while the command window is in «v8p0r1\configs»

Patrick
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 3 months ago #34235

  • Ucef717
  • Ucef717's Avatar
Thank you Patrick for your time and reply,

it was just a careless mistake ( you can see the picture attached).

i verify the directory again and its in the right place.

Thank you very much,

Youssef
Attachments:
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 3 months ago #34236

  • PMV
  • PMV's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 149
  • Thank you received: 42
That happens, it's easy to miss that kind of details, surely in the beginning with telemac.

1 thing I can suggest you is to specify the config file with the option -f:
\> configtelemac.py -f \configs\filename.cfg

Hope it helps, if not I leave it to someone else to help you.

Patrick
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 3 months ago #34238

  • Ucef717
  • Ucef717's Avatar
thank you patrick for your time, but it doesn't work, it still gives the same message.
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 3 months ago #34239

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Hello,

Please check that the cmd launcher has the correct path:
C:\windows\system32\cmd.exe /E:ON /V:ON /K set SYSTELCFG=C:\opentelemac-mascaret\v8p0r2\configs\systel_parallel_v8p0.cfg && PATH=C:\opentelemac-mascaret\v8p0r2\scripts\python27;C:\opentelemac-mascaret\mpich2\bin;!PATH!

Maybe you are missing the disk drive "C:\" or something related to your path (e.g. mixing up the letter "O" with digit "0" or something like that)

Also there is a second revision of V8p0 (r2), check out the tags release and try the compilation with those files.

Regards,

José D.
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 3 months ago #34240

  • Ucef717
  • Ucef717's Avatar
Hello,

Thank you José, it did start compiling actually, but after 10min it stoped and gives me the message attached.

Thank you very much for your time,

Youssef
Attachments:
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 3 months ago #34275

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Hello Youssef,

Since I ussually use a custom CFG file for windows/linux installation I didn't realize that actually the automatic installer is broken for V8P0, which I noticed by starting from the top just to check what might be happening. The CFG file that the installer creates has the following issues:

* (Missing) The cmd_obj_c line for mascaret compilation
* (Missing) -cpp flag in cmd_obj line
* (deprecated) Lines incs_partel, incs_xxx... and libs_xxx are now condensed in incs_all and libs_all respectively [ your issue]

Therefore, you are better replacing the entire content of the cfg file created by the automatic installer (systel_parallel_v8p0.cfg I believe) by this one:
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs:    wing64mpi
#
#
# _____                            ____________________________________
# ____/ Windows gfortran parallel /___________________________________/
[wing64mpi]
#
root:       C:\opentelemac-mascaret\v8p0
version:v8p0
language:   2
modules:    clean system 
#
mpi_cmdexec:   C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:  
#
cmd_obj_c: gcc -c <srcName> -o <objName>
cmd_obj:    gfortran -c -cpp -O3 -fconvert=big-endian -DHAVE_MPI -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    gfortran -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs> <libs>
#
mods_all:   -I <config>
#
sfx_obj:    .o
#
#incs_parallel:      -I C:\opentelemac-mascaret\mpich2\include
#incs_special:       -I C:\opentelemac-mascaret\mpich2\include
#libs_partel:        C:\opentelemac-mascaret\metis\lib\libmetis.a
incs_all:            -I C:\opentelemac-mascaret\mpich2\include
libs_all:           C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a C:\opentelemac-mascaret\metis\lib\libmetis.a
#
#
sfx_zip:    .zip
sfx_lib:    .lib
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:    .exe
#
val_root:   <root>\examples
val_rank:   all

That should complete the compilation process successfully on Windows after firing "compileTELEMAC.py" again. Don't forget to test some examples to check that everything is OK!

Regards,

José D.
The administrator has disabled public write access.
The following user(s) said Thank You: Ucef717

Failed compilation for v8p0 parallel 5 years 3 months ago #34279

  • Ucef717
  • Ucef717's Avatar
Hello José,

I did replace the CFG file, and it did compile the parallel one.

Thank you for your time and responses.

Best Regards,

Youssef
The administrator has disabled public write access.

Failed compilation for v8p0 parallel 5 years 2 months ago #34443

Hi, I would like to ask for help regarding installation of parallel version. I tried using the given config file for parallel version and have added the -cpp but still face problem of unknown revision. I attached the files as follows
Attachments:
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

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