Welcome, Guest
Username: Password: Remember me

TOPIC: Install on Mac with Python

Install on Mac with Python 11 years 4 hours ago #11152

  • cmichail
  • cmichail's Avatar
Hello,

I'm a new user and I'm trying to install telemac on mac with python. As far as I could tell this had not yet been tested approx. a year ago, but I was wondering if maybe it had been by now?

Here's what happens when I run compileTELEMAC.py: it "runs" reaches the end ("my work is done"), but nothing is actually compiled in the process. I just get the following output instantly after pressing return:

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

... parsing configuration file: /Users/cmichail/Documents/opentelemac/v6p2r1/config/systel.cis-ubuntu.cfg


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

+> configuration: ubugfortrans
+> root: /Users/cmichail/Documents/opentelemac
+> version: v6p2r1
+> modules: update system

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



My work is done


I'm pretty much stuck here and can't figure out what to do, does anyone have a suggestion on how to move forward?

Thanks a lot,
Claire
The administrator has disabled public write access.

Install on Mac with Python 11 years 3 hours ago #11154

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

I believe that (with v6p2) you should just put v6p2 as version in your config file.

Maybe you can try v6p3 ?

Let us know how it goes.
Sébastien.
The administrator has disabled public write access.
The following user(s) said Thank You: cmichail

Install on Mac with Python 10 years 11 months ago #11192

  • cmichail
  • cmichail's Avatar
Hello Sébastien,

Thanks for the tip, using v6p2 as a version works and the program now scans the folders. It does get stuck again soon after with the following:

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

... parsing configuration file: /Users/cmichail/Documents/opentelemac/v6p2r1/config/systel.cis-ubuntu.cfg


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

+> configuration: ubugfortrans
+> root: /Users/cmichail/Documents/opentelemac/v6p2r1
+> version: v6p2
+> modules: update system

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

... now scanning tel3d_v6p2
... now scanning toma_v6p2
... now scanning damo_v6p2
... now scanning postel3d_v6p2
... now scanning arte_v6p2
... now scanning paravoid_v6p2
... now scanning tel2d_v6p2
... now scanning stbtel_v6p2
... now scanning mumpsvoid_v6p2
... now scanning sisyphe_v6p2
... now scanning bief_v6p2
... now scanning special_v6p2


Building the who calls who tree for HOMERE_TELEMAC2D and dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Warning: Nonexistent include directory "/Users/cmichail/Documents/opentelemac/v6p2r1/telemac2d/tel2d_v6p2/ubugfortrans"
Warning: Nonexistent include directory "/Users/cmichail/Documents/opentelemac/v6p2r1/sisyphe/sisyphe_v6p2/ubugfortrans"
Warning: Nonexistent include directory "/Users/cmichail/Documents/opentelemac/v6p2r1/tomawac/toma_v6p2/ubugfortrans"
Warning: Nonexistent include directory "/Users/cmichail/Documents/opentelemac/v6p2r1/damocles/damo_v6p2/ubugfortrans"
Warning: Nonexistent include directory "/Users/cmichail/Documents/opentelemac/v6p2r1/mumpsvoid/mumpsvoid_v6p2/ubugfortrans"
Warning: Nonexistent include directory "/Users/cmichail/Documents/opentelemac/v6p2r1/paravoid/paravoid_v6p2/ubugfortrans"
Warning: Nonexistent include directory "/Users/cmichail/Documents/opentelemac/v6p2r1/special/special_v6p2/ubugfortrans"
gfortran: error trying to exec 'as': execvp: No such file or directory
... The following command failed for the reason above
gfortran -c -O3 -ffixed-line-length-132 -fconvert=big-endian -frecord-marker=4 -I /Users/cmichail/Documents/opentelemac/v6p2r1/telemac2d/tel2d_v6p2/ubugfortrans -I /Users/cmichail/Documents/opentelemac/v6p2r1/sisyphe/sisyphe_v6p2/ubugfortrans -I /Users/cmichail/Documents/opentelemac/v6p2r1/tomawac/toma_v6p2/ubugfortrans -I /Users/cmichail/Documents/opentelemac/v6p2r1/bief/bief_v6p2/ubugfortrans -I /Users/cmichail/Documents/opentelemac/v6p2r1/damocles/damo_v6p2/ubugfortrans -I /Users/cmichail/Documents/opentelemac/v6p2r1/mumpsvoid/mumpsvoid_v6p2/ubugfortrans -I /Users/cmichail/Documents/opentelemac/v6p2r1/paravoid/paravoid_v6p2/ubugfortrans -I /Users/cmichail/Documents/opentelemac/v6p2r1/special/special_v6p2/ubugfortrans /Users/cmichail/Documents/opentelemac/v6p2r1/bief/bief_v6p2/sources/bief_def.f


I can indeed see that an "ubugfortrans" folder was only created within the "bief" folder (containing the file bief_def.mod) but that it doesn't exist in any of the other folders. Is this normal?

Thank you,
Claire
The administrator has disabled public write access.

Install on Mac with Python 10 years 11 months ago #11193

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

The warning is OK (the absence of the include subdir), especially as it is your first time. However, the error comes from:
gfortran: error trying to exec 'as': execvp: No such file or directory
which is a problem with your gfortran/gcc install. A quick duckduckgo search gives the following link: macresearch

Good luck,
Sébastien.
The administrator has disabled public write access.
The following user(s) said Thank You: cmichail

Install on Mac with Python 10 years 11 months ago #11287

  • cmichail
  • cmichail's Avatar
Hello Sébastien,

Thank you for your help, I did have a problem with my gcc install.

My linker then did not recognize the "--start-group/--end-group" option in the cmd_exe of the systel file. After removing those options, everything compiled fine and the validation example runs, so I just need to check the results to make sure nothing got left out by doing this.

Thanks again for your help,
Claire
The administrator has disabled public write access.

Install on Mac with Python 10 years 11 months ago #11335

  • nilscp
  • nilscp's Avatar
Hi Claire,

I have the same problem as you had for a week ago. I am wondering if you have the possibility to paste your systel.cfg? or send it as an attachment? I did not get what you meant when you said that something had to be changed in the "--start-group/--end-group" option in the cmd_exe of the systel file.

Did you have to install a new gfortran compiler on Mac or did you use the one integrated in the Xcode installation? Did you have to add a path?

Sorry to ask so many questions. I am quite new in programming and I am still struggling quite a lot.

Thank you for your help
Nils
The administrator has disabled public write access.

Install on Mac with Python 10 years 11 months ago #11337

  • nilscp
  • nilscp's Avatar
Ok,

I got it now. I installed gfortran compiler. Then everything worked well.

Nils.
The administrator has disabled public write access.
Moderators: borisb

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