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 week ago #32037

  • preeti123
  • preeti123's Avatar
Hi Guru,

Can you tell me where will I get the result of the execution of config.py. I run it on command prompt and it executed properly showing "My work is done".

Regards
Preeti
The administrator has disabled public write access.

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

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
By the result i means what it display on your terminal before the my work is done.

For me it looks somthing laike that:
Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                _                                                        _       _               
               | |                                                      (_)     (_)              
  _   _  _ __  | | __ _ __    ___  __      __ _ __    _ __   ___ __   __ _  ___  _   ___   _ __  
 | | | || '_ \ | |/ /| '_ \  / _ \ \ \ /\ / /| '_ \  | '__| / _ \\ \ / /| |/ __|| | / _ \ | '_ \ 
 | |_| || | | ||   < | | | || (_) | \ V  V / | | | | | |   |  __/ \ V / | |\__ \| || (_) || | | |
  \__,_||_| |_||_|\_\|_| |_| \___/   \_/\_/  |_| |_| |_|    \___|  \_/  |_||___/|_| \___/ |_| |_|
                                                                                                 
                                                                                                 


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

C9.gfortran.dyn: 
    

    +> Gfortran compiler 4.9.2 with open_mpi for a debian 8 all libraries are compiled in dynamic

    +> root:    /home/B61570/opentelemac/git/trunk
    +> module:  stbtel / splitsel / artemis / telemac2d / tomawac / postel3d / sisyphe / waqtel / nestor / khione / telemac3d / diffsel / special / identify_liq_bnd / gretel / mascaret / partel / hermes / parallel / ad / damocles / api / bief


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



My work is done
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 6 years 1 week ago #32042

  • preeti123
  • preeti123's Avatar
Hello Guru,

Thanks for quick reply! I have attached an image which is screenshot of result of config.py

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

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

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Try to rerun compileTELEMAC.py --clean using the systel.cfg below.

That should do the trick to compile v7p3.
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs:     win7gfors
# win7tels win7gfors 
# _____                     ________________________________________
# ____/ windows 7 generals /_______________________________________/
[general]
#
root:       D:\Coastal_zone_study\Soft\New_folder\Telemac\v7p2r3
version:    v7p3
language:   2
modules:    system
#
sfx_zip:    .zip
sfx_lib:    .lib
sfx_mod:    .mod
sfx_exe:    .exe
#
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 /usr/lib/libfmpich.so /usr/lib/metis-4.0/libmetis.a
incs_all: -I/usr/include/mpich2
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 6 years 5 days ago #32089

  • preeti123
  • preeti123's Avatar
Hi Guru,

Thanks for your help. I copied the systel.cfg in config folder. After that I compiled compileTELEMAC.py --clean. It worked for sometime, after that it stopped with error and warning message. Below I have attached the error png file.

Regards
Preeti
The administrator has disabled public write access.

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 6 years 5 days ago #32091

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It looks like your compilation did not use the file I gave you.
What was the exact command you typed (compileTELEMAC.py --clean) ?
If yes replace your previous systel.cfg by the one I gave you.
To check run config.py and check that the configuration is pointing to the right one.
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 6 years 5 days ago #32092

  • preeti123
  • preeti123's Avatar
Hello,

Yes, I have run the command (compileTELEMAC.py --clean). Second, I have checked config.py by running it and it shows the same earlier systel.cfg and not yours one. I have copied the systel.cfg, you gave me in my config folder and I think still it does not uses it.
What can be the issue behind it? Is it a problem with the files I have downloaded?

And now if I again compile (compileTELEMAC.py --clean), it start the process of compiling the (*.f) files from source folder again.

Regards
Preeti
The administrator has disabled public write access.

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 6 years 5 days ago #32093

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Maybe you have an environment variable that set the configuration file.
Are you using the cmd icon generated by the installer ?
You can force the one to use by adding the option "-f <path_to_systel>" to compileTELEMAC.py.
Replacing <âth_to_systel> by the path to my file.
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 6 years 5 days ago #32095

  • preeti123
  • preeti123's Avatar
Hello,

I am not using any cmd icon. I just run the command on command prompt window.

I have changed my systelcfg enviornment variable path. It was written in "wikis" to set the systelcfg to set it to systel C:\opentelemac\v7p1\configs\systel.cis-winxp.cfg

I have changed it to the path of systel.cfg

Now I restarted the computer and I run the command compileTELEMAC.py pr config.py it says;

Key sfx_obj required in configuration (or on the command line as an object)


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

Segmentation fault in Fortran compiler "if (.not.checkFmt( fmt)) then 6 years 5 days ago #32096

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
My bad.
The line
sfx_obj: .o
is missing from the file near the others sfx_
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
Moderators: borisb

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