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

TOPIC: COMPILATION WITH PARALLEL MODE

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8178

  • BPA
  • BPA's Avatar
Hi

We are trying to compile with Python in parallel mode, but we don't understand where we can find the file named "wintelmpi". Thank you


Best regards

BPA
The administrator has disabled public write access.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8179

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
wintelmpi is not a file!
It's the name of a configuration.

Regards
Christophe
The administrator has disabled public write access.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8186

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You need to check the file systel.cfg in your config folder.
The configuration should be in that 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.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8194

  • BPA
  • BPA's Avatar
Hi
I have checked the systel.cfg, but It doesn't work. I hav obtained the next error:

C:\opentelemac\v6p2r1\pytel>xs
"xs" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

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


What can I do?? Thank you

Best regards

BPA
The administrator has disabled public write access.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8201

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,
Could you post the file c:\opentelemac\v6p2r1\config\systel.hrw.cfg

It looks like another error.
Do you have the following line at the beginning of your file:

[Configurations]
configs: wintelmpi



Hope this helps,
Yoann
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.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8204

  • BPA
  • BPA's Avatar
Hi

We send you the cfg file. Can you correct it? Thank you


BPA
Attachments:
The administrator has disabled public write access.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8254

  • BPA
  • BPA's Avatar
Hi
Can you tell me if I have to change something of the systel.cfg file? I don't know what can I do. Thank you

BPA
The administrator has disabled public write access.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8255

  • BPA
  • BPA's Avatar
Hi

I have tried to compile it again. I obtain the next error. Perhaps I have put bad the library directory. Could you check it? Thanks

The error is the next one:


... 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- created c:\opentelemac\v6p2r1\parallel\parallel_v6p2\wintelmpi\gredelmet_au
top.obj
xilib: executing 'lib'
xilib: error #10037: could not find 'lib'
xilib: error spawn_errno_default: spawn('C:\PROGRA~2\Intel\COMPOS~1\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
C:\opentelemac\v6p2r1\pytel>cd..

C:\opentelemac\v6p2r1>cd..

C:\opentelemac>cd\

C:\>xilib

usage: xilib [<options>] <normal command-line>
(for commandline use)

options may be any of the following:
-qipo enable multi-file IPO compilation (DEFAULT)
-qnoipo disable multi-file IPO
-qipo-fa[{name|name/}] name assembly listing(s) for IPO compilation(s)
-qipo-fo[{name|name/}] name object file(s) for IPO compilation(s)
-qipo-fac add code bytes to assembly listing
-qipo-fas add source lines to assembly listing
-qipo-facs add code bytes, source lines to assembly listing
-quseenv do not override existing PATH, LIB, and INCLUDE vars
-lib execute librarian rather than linker
-qguide-opts=<arg> analyze certain code and generate recommendations
-qguide-profile=<arg> specify a loop profiler data file
-qguide-file=<file> results of guided auto-parallelization to a file
-qguide-file-append=<file>
append output of guided auto-parallelization
-qguide[=<n>] enable guidance for auto-vectorization, auto-
parallelization and data transformation
-qguide-data-trans=<n> set guidance level for data transformation
-qguide-par=<n> set guidance level for auto-parallelization
-qguide-vec=<n> set guidance level for auto-vectorization
-qhelp print usage message
-qv print version information
-qopt-report[=<n>] enable optimization report generation
-qopt-report-file=<file>
specify the filename for the generated report
-qopt-report-phase=<name>
specify the phase that the reports are generated for
-qopt-report-routine=<name>
report on routines containing the given name
-qopt-report-help display the optimization phases available
-qpar-report=<n> control the auto-parallelizer diagnostic level
-qvec-report=<n> control amount of vectorizer diagnostic information
-qopenmp-report=<n> control the OpenMP parallelizer diagnostic level

Copyright (C) 1985-2013, Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.

xilib: error #10037: could not find 'lib'
xilib: error spawn_errno_default: spawn('C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\
xilink.exe') failed, errno=0


Thank you

Best regards

BPA
The administrator has disabled public write access.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8264

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

The error seems to come from the compiler you are using:
xilib

I have never used it before so i can't help you with that.
We suggest to install telemac on windows with gfortran (gnu compiler).
Maybe you can try with that compiler.
You will need to compile mpi with that compiler as well.

Hope it helps
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.

COMPILATION WITH PARALLEL MODE 11 years 7 months ago #8271

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

It is possible that your lib creation is missing the reference to the metislib.lib file.
In your config you have:
libs_parallel: C:\opentelemac\lib\libmetis.lib

Have you compiled the system in scalar mode and did it work ?

Hope this helps,
Sebastien.

PS: Actually xilib should not have to refer to the metis lib ...
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.