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

TOPIC: PARALLEL MODE

PARALLEL MODE 11 years 7 months ago #8191

  • a.sannio
  • a.sannio's Avatar
Hi

We are trying to compile Telemac using the parallel model with Windows 8.
the error is:
Microsoft Windows [Versione 6.2.9200]
(c) 2012 Microsoft Corporation. Tutti i diritti riservati.

C:\Users\BEATRICE-ADMIN>cd\

C:\>cd opentelemac

C:\opentelemac>cd v6p2r1

C:\opentelemac\v6p2r1>cd pytel

C:\opentelemac\v6p2r1\pytel>dir
Il volume nell'unità C è Acer
Numero di serie del volume: 4366-CC30

Directory di C:\opentelemac\v6p2r1\pytel

08/04/2013 13.16 <DIR> .
08/04/2013 13.16 <DIR> ..
12/01/2012 11.45 969 alter.py
12/01/2012 11.45 966 artemis.py
12/01/2012 11.45 969 chop.py
08/04/2013 13.16 <DIR> cis
08/04/2013 13.16 <DIR> ColourMaps
13/08/2012 09.21 10.085 compactTELEMAC.py
13/08/2012 09.21 24.035 compileTELEMAC.py
31/08/2012 10.32 41.314 config.py
12/01/2012 11.45 969 diff.py
09/03/2012 18.42 27.405 doxygenTELEMAC.py
06/06/2012 11.25 1.003 estel3d.py
16/01/2012 14.53 967 i2s.py
12/01/2012 11.45 969 merge.py
08/04/2013 13.16 <DIR> mtlplots
08/04/2013 13.16 <DIR> parsers
12/01/2012 11.45 966 postel3d.py
09/10/2012 08.38 50.694 runcode.py
27/01/2012 12.11 6.610 runKENUE.py
06/07/2012 15.36 44.019 runSELAFIN.py
08/04/2013 13.16 <DIR> samplers
12/01/2012 11.45 969 scan.py
12/01/2012 11.45 966 sisyphe.py
12/01/2012 11.45 966 stbtel.py
12/01/2012 11.45 966 telemac2d.py
12/01/2012 11.45 966 telemac3d.py
12/01/2012 11.45 966 tomawac.py
13/08/2012 09.21 21.643 translateTELEMAC.py
08/04/2013 13.16 <DIR> utils
31/08/2012 10.32 13.423 validateTELEMAC.py
23 File 252.805 byte
8 Directory 187.479.654.400 byte disponibili

C:\opentelemac\v6p2r1\pytel>python compiletelemac2d.py -c wintelmpi -f c:\opente
lemac\v6p2r1\config\systel.hrw.cfg
python: can't open file 'compiletelemac2d.py': [Errno 2] No such file or directo
ry

C:\opentelemac\v6p2r1\pytel>cd..

C:\opentelemac\v6p2r1>cd bin

C:\opentelemac\v6p2r1\bin>dir comp*.*
Il volume nell'unità C è Acer
Numero di serie del volume: 4366-CC30

Directory di C:\opentelemac\v6p2r1\bin

File non trovato

C:\opentelemac\v6p2r1\bin>python compiletelemac.py -c wintelmpi -f c:\opentelema
c\v6p2r1\config\systel.hrw.cfg
python: can't open file 'compiletelemac.py': [Errno 2] No such file or directory


C:\opentelemac\v6p2r1\bin>cd..

C:\opentelemac\v6p2r1>cd pytel

C:\opentelemac\v6p2r1\pytel>python compiletelemac.py -c wintelmpi -f c:\opentele
mac\v6p2r1\config\systel.hrw.cfg


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

... parsing configuration file: c:\opentelemac\v6p2r1\config\systel.hrw.cfg
Traceback (most recent call last):
File "compiletelemac.py", line 381, in <module>
cfgs = parseConfigFile(options.configFile)
File "C:\opentelemac\v6p2r1\pytel\config.py", line 189, in parseConfigFile
configDict = getConfigs(file)
File "C:\opentelemac\v6p2r1\pytel\config.py", line 165, in getConfigs
parser.error("Could not access required parameters in config file")
NameError: global name 'parser' is not defined

C:\opentelemac\v6p2r1\pytel>






perhaps we have same problem vith systel.cfg???? we atach it




thank you Antonio & Batirtze
Attachments:
The administrator has disabled public write access.

PARALLEL MODE 11 years 7 months ago #8192

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

You need to do the following:
- Add the folder pytel to the PATH environment variable (you can find info on how to do that on windows 8 in superuser.com/questions/502358/easier-wa...riables-in-windows-8)
- run the command but without the python so just:
compiletelemac2d.py -c wintelmpi -f c:\opente
lemac\v6p2r1\config\systel.hrw.cfg

Could you try that and tell what you get?
Thanks
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.

PARALLEL MODE 11 years 7 months ago #8195

  • a.sannio
  • a.sannio's Avatar
Hi

we make it but the error is the same ..... we think that there is same problem with "configparsers"..... wat is it?..... we look for the manual and we find samethink abought partel ad metis...... haw we can have te precompiled PARTEL UTYLITY :unsure:

THANK YOU ANTONIO Y BATIRTZE ;)
The administrator has disabled public write access.

PARALLEL MODE 11 years 7 months ago #8200

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You are missing the following lines in your systel.hrw.cfg:

[Configurations]
configs: wintelmpi

Just add them at the beginning of your 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.

PARALLEL MODE 11 years 7 months ago #8205

  • a.sannio
  • a.sannio's Avatar
Hi
We have changed our file .cfg, but now we have got another error.


C:\opentelemac\v6p2r1\pytel>compileTELEMAC.py -c wintelmpi -f c:\opentelemac\v6p
2r1\config\systelhrw.cfg


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

... parsing configuration file: c:\opentelemac\v6p2r1\config\systelhrw.cfg


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

+> configuration: wintelmpi
+> root: c:\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 parallel_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 GREDELMET_AUTOP and dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

xilib: executing 'lib'
xilib: error #10037: could not find 'lib'
xilib: error spawn_errno_default: spawn('C:\PROGRA~2\Intel\Compiler\11.1\048\bin
\intel64\xilink.exe') failed, errno=0
... The following command failed for the reason above
xilib.exe /nologo /machine:X64 /out:c:\opentelemac\v6p2r1\parallel\parallel_v6p2
\wintelmpi\parallelv6p2.lib gredelmet_autop.obj


We don't what it is. We send you the file. Can you explain us? thank you.

Best regards
Attachments:
The administrator has disabled public write access.

PARALLEL MODE 11 years 6 months ago #8423

  • olslewfoot
  • olslewfoot's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 132
  • Thank you received: 3
Hi
I recently solved this problem myself having had the same error.
If you are using Microsoft Visual Studio (I am using VS10) with Visual Fortran embedded this error occurs.

I solved the problem bu adding the path "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE" to my environment variables.

This enabled both parallel and scalar compilation of Telemac using systel.with Intel compiler running under Visual Studio 10.

I also used the suggestion of Sebastien made elsewhere on the forum to use "cmd_lib xilink.exe -lib" in place of "cmd_lib xilib.exe" in the cfg file.

Hope this helps.

John
The administrator has disabled public write access.

PARALLEL MODE 11 years 6 months ago #8461

  • a.sannio
  • a.sannio's Avatar
Hi John

I have installed Microsoft Visual Basic, but I have a problem. Can you send us your systel.cfg? Thank you very much.


Best regards
ANTONIO
The administrator has disabled public write access.

PARALLEL MODE 11 years 6 months ago #8467

  • a.sannio
  • a.sannio's Avatar
Hi Sebastien

Where can we find a systel.cfg for Microsoft Visual Studio 10.0 with parallel mode? Thank you

Best regards
The administrator has disabled public write access.

PARALLEL MODE 11 years 6 months ago #8468

  • olslewfoot
  • olslewfoot's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 132
  • Thank you received: 3
Hi Antonio
I attach a cfg file which I use on windows 7 and compiles intel compiler in MS VS10 in scalar and parallel and also gfortran (in scalar) - BUT the parallel function is not working yet. I cannot get the pre-compiled libmetis64 or the libmetis32 libraries to compile a version of partel which will work. My PC thinks partel mis a 16bit programme and will not run.
This problem is not due to the cfg file.
JOhn
Attachments:
The administrator has disabled public write access.

PARALLEL MODE 11 years 6 months ago #8469

  • a.sannio
  • a.sannio's Avatar
Hi John

Thank you very much. Now we try to run it in parallel mode and we send you the results.

Best regards
Antonio & Batirtze

PS: We are thinking to go in Germany to the conference. What do you think about?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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