Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation Error (v7p0)

Compilation Error (v7p0) 9 years 7 months ago #16701

  • jstark
  • jstark's Avatar
Hey,

I am trying to compile v7p0r1 manually as the automatic installer gave some errors. It was a similar error as was posted earlier, that the automatic installer was not able to change the PATh and SYSTELCFG. However, by doing it manually the compilation does not work yet. Everytime I try to compile (also for v6p3), the compilation is aborted after a few minutes and I get this error message:



My systel-cfg file is as follows:

File Attachment:

File Name: systel.cis-windows7.cfg
File Size: 3 KB


I already tried using clean system instead of system - dredgesim, and i also tried skipping tomawac, but then the error occurs on the next module.

Does anyone know what causes this error and how to solve this?

Regards,

Jeroen
The administrator has disabled public write access.

Compilation Error (v7p0) 9 years 7 months ago #16704

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

I did not get the error message -- can you post again ?

Thanks,
Sébastien.
The administrator has disabled public write access.

Compilation Error (v7p0) 9 years 7 months ago #16707

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,

This is a compiler issue. If you are using mingw64, try replacing the 'gfortran' in your cfg with 'x86_64-w64-mingw32-gfortran'.

Regards,
Costas
The administrator has disabled public write access.
The following user(s) said Thank You: jstark

Compilation Error (v7p0) 9 years 7 months ago #16714

  • jstark
  • jstark's Avatar
Thank you for your help. The compilation worked fine now. However, I still cant run a simulation. Got this error message:
C:\opentelemac\examples_windows\examples\telemac2d\bumpflu>telemac2d.py t2d_bump
flu.cas
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v7p0r1\scripts\python27\telemac2d.py", line 14,
in <module>
from runcode import main
File "C:\opentelemac-mascaret\v7p0r1\scripts\python27\runcode.py", line 135, i
n <module>
from parsers.parserSELAFIN import PARAFINS
File "C:\opentelemac-mascaret\v7p0r1\scripts\python27\parsers\parserSELAFIN.py
", line 73, in <module>
import numpy as np
File "C:\Python27\lib\site-packages\numpy\__init__.py", line 154, in <module>
import add_newdocs
File "C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>

from numpy.lib import add_newdoc
File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 4, in <module
>
from type_check import *
File "C:\Python27\lib\site-packages\numpy\lib\type_check.py", line 8, in <modu
le>
import numpy.core.numeric as _nx
File "C:\Python27\lib\site-packages\numpy\core\__init__.py", line 5, in <modul
e>
import multiarray
ImportError: DLL load failed: %1 is not a valid Win32 application.

C:\opentelemac\examples_windows\examples\telemac2d\bumpflu>

Any ideas how to solve this? :)

Regards,

Jeroen
The administrator has disabled public write access.
Moderators: borisb

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