Welcome, Guest
Username: Password: Remember me

TOPIC: error with python?

error with python? 8 years 5 months ago #21944

  • cschwarz
  • cschwarz's Avatar
Dear All,

thank you for your help so far.
The problem was within the windows registry regarding Python(previous installations left a trace in the registry causing the problem).

So I removed everything, cleaned my registry following:
www.opentelemac.org/index.php/kunena/2-w...telemac-v7p0r1#19468

And then used the automatic installer again.
Everything worked fine and the installation went to the end correctly.

However if I now run an example case the serial configuration gets stuck at the TELEMAC screen (see attachment, right side) and the parallel shows a segmentation fault(see attachment, left side).

Do you have any ideas?

Best Regards,
Christian
Attachments:
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21945

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
All that I can say is the problems comes from partel!!!
could you try to run it manually in the temporary folder?

Regards
Christophe
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21946

  • cschwarz
  • cschwarz's Avatar
Dear Christoph,

thank you for your repoly

How do I run it manually in the temp folder?
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21947

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

run [path_to-partel]\partel.exe in the folder and answer the questions

regards
Christophe
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21948

  • cschwarz
  • cschwarz's Avatar
Dear Christoph,

Thank you for the fast reply.
Indeed there is a problem with partel, see attachment(left serial, right parallel).

I am a little confused is the getting stuck in serial also linked to partel?

Best Regards,
Christian
Attachments:
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21949

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

normally, partel is not use in the serial configuration...
In you screen capture, you run an existing partel which are in the serial configuration so I'm not really sure this could work...

In the parallel configuration, you should found partel in wing64mpi...

Could you try with this one?
Christophe
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21951

  • cschwarz
  • cschwarz's Avatar
Dear Christoph,

It gives the same results, see attachment ?

Best Regards,
Christian
Attachments:
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21958

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

maybe this is the reason:
if you used the config file which you posted in
www.opentelemac.org/index.php/kunena/2-w...ython?start=20#21873

for v7xx in the parallel configuration you should have also the following line:
incs_special: -I C:\Opentelemac\MPICH2\include

Hope this helps,
Clemens
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21959

  • cschwarz
  • cschwarz's Avatar
Dear Clemens,

Thanks for your reply, but after I removed everything and cleaned up the registry I used the automatic installer(which finished correctly) with its delivered configurations:

incs_parallel: -I C:\opentelemac-mascaret\mpich2\include
incs_special: -I C:\opentelemac-mascaret\mpich2\include
libs_partel: C:\opentelemac-mascaret\metis\lib\libmetis.a
libs_all: C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a

My guess is I mixed something up in the registry for python, otherwise I would not know what is going wrong?

Best Regards,
Christian
The administrator has disabled public write access.

error with python? 8 years 5 months ago #21960

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

if it is related to the registry / environmental variables:
here we create always a batch file (.bat) for the launcher with all the necessary informations in it in order to bypass all these issues. With this procedure you are always sure whats going on and for example you can use the Python version which you want.
__________________________________________
cmd /k C:\Python27\python.exe ^
C:\Opentelemac\v7p1r1\scripts\python27\runcode.py ^
telemac2d -f C:\Opentelemac\v7p1r1\configs\systel_win_gfortran_mpi.cfg ^
-c wing64mpi ^
D:\pathtoyourtelemaccase\casTEL2D
__________________________________________
Of course you could write all these lines in the command prompt. And you should adapt the paths for your python installation, config file etc. to your needs.
If this "manual" launcher doesn't work, than most likely you had already some compilation problems.

Best regards,
Clemens
The administrator has disabled public write access.
Moderators: borisb

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