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

TOPIC: Installation : V6P2 on Win 7, 64 with Perl, Gfortran

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6352

  • Zbedri
  • Zbedri's Avatar
Hi all,
I am at my wits end, trying to install the above.
(1) Installed strawberry perl, Gfortran ( GCC4.7.2) btw is this an OK version.
(2) Downloaded Telemac (V6P2, 32bit, Gfortran), systel.ini
(3) Modified systel (changed all V6P1 to V6P2, Perl path and Lib, project directory) What do i change hosttype to?

(4) Also not familiar with Gfortran (have used Intel fortran 10 in the past, won't work now so need a free fortran). Do i run cfgmak and makeall90 on a normal command prompt? with intel fortran that was to be done from an intel fortran command prompt.

Any guidance is very much appreciated
Regards
Zeinab
The administrator has disabled public write access.

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6355

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hi Zeinab,

Please read the followinb webpage:
www.opentelemac.org/index.php?option=com...tallation&Itemid=121
or
www.opentelemac.org/index.php?option=com...nish&cid=77&catid=30

In particular please read the remarks about maktel.bat when using gfortran.


Anyway, users are now advised to install TELEMAC with Python.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6361

  • Zbedri
  • Zbedri's Avatar
Hi Pham,
Thanks for your response.
I had a read through what you sent me and did the following:
(1) gave hosttype the name: wgfortran64s
(2) Used that same name for user-configuration-name and DIRLIB ( I modified the section in systel.ini under the Windows +Gfortran).
(3) Edited maketel.bat by activating the section pertaining to Gfortran and commented the part for Intel
(4) rang cfgmak
(5) Ran makeall90
(6) tried a telemac test case and received an error message (attached)
Have I missed something?

Thanks again
Zeinab
telemacerror.png
The administrator has disabled public write access.

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6362

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hi,

In your output, you can read : "DEFAULT EXECUTABLE NOT FOUND". That is your problem. I see two possible reasons :
- your compilation has not been done correctly (have you read that libraries and executables have been correctly created; if yes, in your telemac2d\tel2d_v6p2\wgfortran64s directory, you should have .a and .exe files, and also .exe file in telemac2d\tel2d_v6p2\sources directory),
- your ENVIRONMENT, in particular the PATH has not been correctly filled.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: Zbedri

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6363

  • Zbedri
  • Zbedri's Avatar
Pham,
Thanks for your response.
It seems that compilation hasn't been done correctly as I can't find .a and .exe files in the wgfortran64s directory and no ,exe in the sources directory.

What should i do with the makefile.wnt?
I am confused!!
Zeinab
The administrator has disabled public write access.

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6365

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hi,

Have you read the output when compiling with makeall90? If there are errors in compilation, they should be written. Try again and please read carefully.
Moreover in sources directories, do you have the objects .o files ? If not, do not look further.

Just to check that your environment is OK, you can compile step by step (see subsection 6.2 in the pdf file) with maktel all install command in the sources sub-directories and it will be a way to check.

Regards,

Chi-Tuan

PS: I cannot understand why you had to change V6P1 into V6p2. From which systel.ini file did you start? Why did not you use systel-all.ini in v6p2r1/config sub-directory? Anyway, if you succeeded in installing TELEMAC with ifort, I do not understand why you have not with gfortran (except with the difference in maktel.bat, but I only compiled TELEMAC once in my life on windows in my whole life).

PS2: if you cannot compile correctly, you still have the opportunity to try Python.

PS3: if you use Cygwin to emulate Linux on your Windows computer, you can have ifort for free.
The administrator has disabled public write access.
The following user(s) said Thank You: GiffordMiears_OSU

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6367

  • Zbedri
  • Zbedri's Avatar
Thanks for your patience Pham,
The .o files are created inspite of an nmake eror that shows up at the end of each module block (see attached).
I downloaded the systel.ini file from the compiled code area, its all in V6P1 are there any updated systel.ini files?

Is Python more straight-forward? Haven't done it before? Any bugs or errors?
Regards
Zeinab
Attachments:
The administrator has disabled public write access.

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6368

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hi,

Can you edit bin\maktel.bat file as told in one of my previous post? Which line is activated (without rem at the beginning?)? With your error message, it seems that you have activated nmake /f makefile.wnt %1 %2 %3
or
nmake /f makefile.gfo %1 %2 %3
rather than
gfomake /f makefile.gfo %1 %2 %3

Do you use gfortran or g95?

You should have the file systel-all.ini in v6p2r1\config sub-directory, should not you? Just change the name of this file into systel.ini + some changes and it should be OK.

My last question is, how did you download v6p2 sources, via svn?

Regards,

Chi-Tuan

PS : for Python, in Installation section, then Windows Version of this forum, you must have many tips.
The administrator has disabled public write access.

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6372

  • Zbedri
  • Zbedri's Avatar
Hi,
I have activated the gfomake /f makefile.gfo %1 %2 %3.
I am using a gFortran compile (Gcc Version 4.7.2)
I downloaded V6P2 via the compiled sources section.
Then systel.ini separately from the same place.

will get systel-all.ini via SVN and will keep you posted.
Regards
Zeinab
The administrator has disabled public write access.

Installation : V6P2 on Win 7, 64 with Perl, Gfortran 12 years 1 week ago #6373

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hi Zeina,

I cannot understand why you downloaded a pre-compiled version and then re-compile it, that is a strange way to proceed.

By the way, if you want to compile your own TELEMAC, it is also advised to download source codes from svn.opentelemac.org
For version 6.2, the current tag is v6p2r1. Please see
www.opentelemac.org/index.php?option=com...cle&id=72&Itemid=138

FYI, the only files I changed to compile TELEMAC with gfortran on Windows for a test are attached below (systel-all_svn.ini changed into systel.ini, maktel_svn.pl into maktel.pl, like yours with the activation of gfortran), then after filling in environment variables (did you fill it correctly? In particular SYSTELCFG and Path?) typing cfgmak in config sub-directory should write a message to say which cfgmak.mak file has been updated and its path (if it is not correct, that means that SYSTELCFG variable has not been taken into account) and cfgmak.mak file should be updated with information included in systel.ini file (in particular which compiler you use


File Attachment:

File Name: files_install_v6p2r1_perl_gfortran.zip
File Size: 12 KB



I used a 32 bit computer with strawberry perl 5.16.1.1 with gfortran 4.6.3 already installed with strawberry perl. I do not think that the differences between versions can lead to your problem.

This is not the optimal configuration, but it worked just to test.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: Zbedri
  • Page:
  • 1
  • 2
Moderators: borisb

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