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

TOPIC: Compilation v7p2r0

Compilation v7p2r0 7 years 6 months ago #26400

  • jose2kk
  • jose2kk's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 59
Hello everyone!

I have been trying to install successfully the last released version on windows 10, I did manual installation with the svn repository, I downloaded successfully all the installation files required and followed the steps necessaries. The compilation of every module except MASCARET is succeed, but when I try to compile MASCARET the command windows shows up a message (see image1) of error without finishing the compilation of the MASCARET.

I first tried to compile the complete system (all modules at the same time), but the problem with Mascaret made me to do it without the MASCARET module (see image2). I do not use MASCARET module at all, but I would like to have it compiled. Could someone please tell me whether there is a mistake or not?

Otherwise, when I run a case I already ran it before with v6p3r2, it throws a result file, which only has 2 frame (the first one and the last one). In addition, when I try to get a hotstart file (using keywords STOP CRITERIA and STOP IF STEADY STATE IS REACHED) it does not give me the last frame, only the initial state, this despite of I set a GRAPHICAL PRINTOUT PERIOD that works fine in v6p3r2. So, I ask you, could be possible that the program is not well installed? Could it be related to the MASCARET compilation problem?

Thanks in advance.

Cheers,

José Andrés.
Attachments:
The administrator has disabled public write access.

Compilation v7p2r0 7 years 6 months ago #26408

  • jose2kk
  • jose2kk's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 59
Hello everyone!

I have solved one of the problems (compilation), but I also found what happen with GRAPHIC PRINTOUT, although I do not know why it happens, I will make a post about it.

Solving the problem was not difficult at all. I did a combination between Automatic and Manual installation.

How did I do it? I used Automatic-Installer to install the pre-requisites and when it asked me to continue with the OpenTELEMAC I cancelled it. Once I had a folder created with the pre-requisites installed (opentelemac-mascaret), I followed the manual procedure described in wiki.opentelemac.org/doku.php?id=instruc...tomatic_installation.

It was easy and I did not get any error (of course since I did not use the automatic installer for downloading/compile the files). Take in account I did it for v7p1r1 at the end.

I know this is the procedure when an error appears, but I did not have to get an error to use the procedure, that’s why I wanted to explained it, maybe this feedback help anybody who could have a seemed problem.

Cheers,

José Andrés.
The administrator has disabled public write access.

Compilation v7p2r0 7 years 6 months ago #26446

  • z.sdqy
  • z.sdqy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 6
Hello
I am a new user of Telemac and I was trying to compile the latest version of Telemac
I found your instructions easy to follow.
I have some questions I will appreciate if you could help me with
I downloaded the prerequisite
but when I followed the link you gave in the step

'"3. Copy configuration file
Save the configuration file as systel_v7p0.cfg in C:\opentelemac-mascaret\v7p0\configs""

Actually, I do not know where the configuration file located? is it located in the source code?
before installing the prerequisites, I downloaded the source code by svn check out and I put it in the drive D, and I named the source code file
(Telemacsvn) rather than open telemac-mascaret. does this cause any problem?
do I have to put the source code in the file that created by automatic installation?

Thank you so much in advance
Zhina
The administrator has disabled public write access.

Compilation v7p2r0 7 years 6 months ago #26447

  • jose2kk
  • jose2kk's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 59
Hello Zhina,

I'll try to be clear enough.

1. You have created the folder opentelemac-mascaret with the pre-requisites automatic-installation.

2. Paste the folder v7p2r0 that you downloaded from the svn repository into opentelemac-mascaret folder.

3. Create a text file, rename it and change its extension as "systel_v7p2r0.cfg", copy into this file the info that is in the following link: wiki.opentelemac.org/doku.php?id=configuration_file. Now you have the info into the file systel_v7p2r0.cfg, you have to change the following info

root: C:\opentelemac-mascaret\v7p0
version: v7p0
language: 2
modules: system -dredgesim

To

root: C:\opentelemac-mascaret\v7p2r0
version: v7p2r0
language: 2
modules: system

And save the file into the folder "configs" located in the path C:\opentelemac-mascaret\v7p0\configs.

Once you have done the above mentioned, do steps 4 to 7 as mentioned for the manual procedure description.

Remember to change v7p0 in the paths for v7p2r0.

Well, that's basically how it must be done.

Answering your question, indeed, it is necessary to put the files you downloaded (folder v7p2r0) into the folder opentelemac-mascaret created by the automatic installation.

I hope it helps.

Cheers,

José Andrés.
The administrator has disabled public write access.
The following user(s) said Thank You: z.sdqy

Compilation v7p2r0 7 years 6 months ago #26453

  • z.sdqy
  • z.sdqy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 6
Hi Jose
Thank you for your quick reply
Thanks to you I reached the compilation step but it gave this error
it asks for changing some files in configs file. I attached it

Thanks again for your time
Zhina
Attachments:
The administrator has disabled public write access.

Compilation v7p2r0 7 years 6 months ago #26454

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
If you follow the instruction you probably save the config file at a wrong place because José indicate
And save the file into the folder "configs" located in the path C:\opentelemac-mascaret\v7p0\configs.
but as you're trying to use V7P2, you should save the file in the v7p2\config directory

Hope this helps
Christophe
The administrator has disabled public write access.

Compilation v7p2r0 7 years 6 months ago #26455

  • z.sdqy
  • z.sdqy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 6
Hi again
I was able to solve it by changing the file of (systel_v7p2r0) from txt file to CFG file
after starting compilation, the compilation stopped due to this error

"Missing cmd_obj_c in your configuration file to compile mascaret C dependencie"

I will try to solve it

Zhina
Attachments:
The administrator has disabled public write access.

Compilation v7p2r0 7 years 6 months ago #26456

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
This is due to a recent change which doesn't exist in the previous config file.
You need to ass the following line in the config file near the cmd_obj line

cmd_obj_c: gcc -c <srcName> -o <objName>


Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: z.sdqy

Compilation v7p2r0 7 years 6 months ago #26457

  • z.sdqy
  • z.sdqy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 6
Hello
Thank you for your help
could you please tell me in which file in Configs file I have to write this line

Because I am a beginner in Telemac. I am not familiar with all of it

Thank you for your time
Zhina
The administrator has disabled public write access.

Compilation v7p2r0 7 years 6 months ago #26458

  • jose2kk
  • jose2kk's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 59
Hello Zhina and Christophe,

Thanks Christophe for the correction about the path where systel_v7p2r0.cfg needs to be located.

Zhina, I got the same error (Forgot to mention it, sorry about it) and, as Christophe said, you just need to add the line Christophe mentioned.

Please see the image of my systel file (I am out-of-town, I can not upload it because I am replying from my iPhone).

Cheers,

José Andrés.
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: kanak31, z.sdqy
  • Page:
  • 1
  • 2
Moderators: borisb

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