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

TOPIC: 6.2 on Win7 64 bit with Python and gfortran

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8250

  • julien971
  • julien971's Avatar
Hi pilou1253,

I have the same problem that you had before :

During the compilation process I got messages stating "rename specc lib to liborig"

How do you solve this problem?
I try to install the v6p2 version with gfortran.

Good week-end

Julien
The administrator has disabled public write access.

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8252

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi Julien,

Actually I don't really remember, it was some time ago... But i read my previous messages and it seems that i got the "My work is done" message even when i got the same "error message" that you mention.
Did you try to launch a test case?

Otherwise, read again the previous posts and especially those dealing about the right lib folders and exe files. The installation with the gfortran installer did not work on my PC so I had to download the version corresponding to my own system configuration.

I attach my systel file. Please not that the name of the gfortran exe is the one corresponding to my PC and to the gfortran version i downloaded, so make sure you are adapting this the right way.

Good luck!
PL

File Attachment:

File Name: systel.cfg_2013-04-14.txt
File Size: 1 KB
The administrator has disabled public write access.

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8263

  • julien971
  • julien971's Avatar
Hi,

Thank you for your systel file.
I dont try to run a validation case because the compilation take only 2 mins..It's often 30 mins so there must be a problem.
It's works without define a library path!?
Only with set the path like you do it.
I will try.

Thank you
Julien
The administrator has disabled public write access.

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8265

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi,

For me it worked fine just by finding the right way to install gfortran (it is maybe there that you face problem) and by following the installation instructions from the website.
Do you use python ? By library path, it means indeed that you should include in your PATH variable the path to your library for gfortran and maybe python if you have several version installed (which is my case).

For info, here is my PATH variable:
c:\opentelemac\v6p2\wingfortrans\pytel;C:\Python27;C:\gfortran\bin
And my SYSTELCFG variable:
C:\opentelemac\v6p2\wingfortrans\config\systel.cfg

Good luck!
PL
The administrator has disabled public write access.
The following user(s) said Thank You: julien971

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8266

  • julien971
  • julien971's Avatar
Hi,

Yes, I use python v27.

It's okay for the path. I have exactly the same.
I was talking about the library variable excuse me..
You created a variable name LIB or LIBRARY_PATH? I saw on your post that you set them at C:\gfortran that right?


In your systel file you miss this at the end ?
:
# also possible val_root: <root>\..\validation
val_root: <modpath>\validation
val_rank: all
# also possible val_rank: <3 >7 6
#

I'm so close!!
I think it's just believe a problem of library.

Best regards,

Julien
The administrator has disabled public write access.

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8267

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi,

No, I don't have such variables. Only PATH and SYSTELCFG as mentioned above. I just copied two DLL from
C:\gfortran\x86_64-w64-mingw32\lib
to
C:\gfortran\bin
(DLL were identified in error messages during the compilation).
It is maybe not 100% clean but it works fine. As a user mentioned these DLL can maybe be tracked by a "LIB" (or another name, see gfortran docs) pointing to the original folder, but I skipped it.

Furthermore I don't have the lines you mention in my systel.cfg file. I am not the right person to say if this should or should not be in your file but I can say that my file works on my PC and on some others. Sebourban has also checked it.

Regards
PL
The administrator has disabled public write access.

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8268

  • julien971
  • julien971's Avatar
Hi,

Ok for the dll.
I change this line in the systel file :
cmd_lib: x86_64-w64-mingw32-ar cru <libname> <objs>

Now my compilation is done, without error message.

I Have just I last question, in your post #6377 you wonder if "remane spec lib to liborig" was normal. That's it?

I will try tomorrow a validation case.

Thank you,

Julien
The administrator has disabled public write access.

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8269

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi,

I am not sure about your cmd_lib. But once more, I am not the right person for that!
Regarding the message "rename spec lib to liborig", I don't know if that's normal (I got no reply).
The best thing to do is to launch a test case...

Regards
PL
The administrator has disabled public write access.
The following user(s) said Thank You: julien971

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8270

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

I believe LIBRARY_PATH should point to C:\gfortran\lib and not just C:\gfortran.
(that is what it points to on my laptop computer, and that is all it points to).

Also, the fact that you have to call x86_64-w64-mingw32-ar (instead of ar) makes me think you gfortran install may not be complete, in particular, you should have C:\gfortran\bin in your PATH.
(my PATH includes: C:\Python27;C:\Python27\Scripts;C:\gfortran\bin;C:\gfortran\x86_64-w64-mingw32\bin).

Hope this helps,
Sebastien.
The administrator has disabled public write access.
The following user(s) said Thank You: julien971

6.2 on Win7 64 bit with Python and gfortran 11 years 7 months ago #8315

  • julien971
  • julien971's Avatar
Hi,
In fact I used the same systel file of Pilou1253,set the LIBRARY_PATH and PATH like yours Sebastien. After I moved 3 dll, libgcc_s_sjlj-1 , libgfortran-3 and libquadmath-01 from gfortran\x86_64-w64-mingw32\lib to gfortran\bin
IT WORK!!

I successfully launched the validation case tom_whirl_V5P6

Thank you very much.

Julien Lacascade
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.