Welcome, Guest
Username: Password: Remember me

TOPIC: Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 6 years 1 day ago #32097

  • preeti123
  • preeti123's Avatar
Hello,

I added (sfx_obj .obj) in line with other (sfx_* .*) command in systel.cfg

Thanks
Preeti
The administrator has disabled public write access.

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 6 years 1 day ago #32099

  • preeti123
  • preeti123's Avatar
Hello,

I just want to clarify one last thing. How to add the option "-f <path_to_systel>" to compileTELEMAC.py and

Replacing <pâth_to_systel> by the path to the file given by you.

Regards
Preeti
Attachments:
The administrator has disabled public write access.

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 6 years 1 day ago #32106

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Here is an example:
compileTELEMAC.py -f C:\mypath\systel.cfg

But you do not need that is you replace the environment variable %SYSTELCFG%
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: preeti123

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 5 years 11 months ago #32129

  • preeti123
  • preeti123's Avatar
Hello,

I have run the command compileTELEMAC.py -f C:\mypath\systel.cfg but faced another bug!

error.png is added.

Regards
Preeti
Attachments:
The administrator has disabled public write access.

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 5 years 11 months ago #32163

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
The path to the mpi installation is not correct.
You need to change that in incs_all and libs.
The one there are for linux.
Have a look at the systel.cfg that the installator has generated you should find the correct path there.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 5 years 11 months ago #32244

  • preeti123
  • preeti123's Avatar
Hello,

May I know where I can get these incs_all and libs file, where I have to change the path.

Regards
Preeti
The administrator has disabled public write access.

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 5 years 11 months ago #32246

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
In your systel.cfg file in config folder
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: preeti123

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 5 years 11 months ago #32249

  • preeti123
  • preeti123's Avatar
Hello,

I have made the changes (bold) in systel.cfg:

# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: win7gfors
# win7tels win7gfors
# _____ ________________________________________
# ____/ windows 7 generals /_______________________________________/
[general]
#
root: D:\Coastal_zone_study\Soft\New_folder\Telemac\v7p3r1
version: v7p3
language: 2
modules: system
#
sfx_zip: .zip
sfx_lib: .lib
sfx_mod: .mod
sfx_exe: .exe
sfx_obj: .obj
#
val_root: <root>\examples
val_rank: all
# also possible val_rank: <3 >7 6
#
# _____ _________________________________
# ____/ windows 7 gfortran scalar /________________________________/
[win7gfors]
#
cmd_obj_c: gcc -c <srcName> -o <objName>
cmd_obj: gfortran -c -cpp -DHAVE_MPI -O3 -fopenmp -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs> <libs>
#
mods_all: -I <config>
libs_all: <root>\..\lib\XDMF\XdmfUtils.a D:\Coastal_zone_study\Soft\New_folder\Telemac\v7p3r1\metis\lib
incs_all: D:\Coastal_zone_study\Soft\New_folder\Telemac\v7p3r1

I have also attached my error file. Please help.

I think I am trying to install telemac in windows, whereas the systel.cfg and mpich what I use is for linux. Please help with this.

Regards
Preeti
Attachments:
The administrator has disabled public write access.
Moderators: borisb

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