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

TOPIC: Trunk version - installation error

Trunk version - installation error 7 years 11 months ago #24633

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
For parallel, I have successfully compiled by using the below configuration for the trunk version, but I have done any testcases. Could you try it?

As noted by JMH, could you check MPI? for example:

mpi_cmdexec: C:\opentelemac\mpi\bin\mpiexec.exe

I think, probably it is:

mpi_cmdexec: C:\opentelemac\mpich2\bin\mpiexec.exe (just change: mpich2 instead of mpi)


Here is my configuration:


# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: wing64mpi
#
#
# _____ ____________________________________
# ____/ Windows gfortran parallel /___________________________________/
[wing64mpi]
#
root: C:\opentelemac-mascaret\trunk
version:trunk
language: 2
modules: system -dredgesim -mascaret
#
mpi_cmdexec: C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
cmd_obj: gfortran -c -O3 -fopenmp -fconvert=big-endian -frecord-marker=4 -ffixed-line-length-132 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs> <libs>
#
mods_all: -I <config>
#
sfx_obj: .o
#
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
#
#
sfx_zip: .zip
sfx_lib: .lib
sfx_obj: .o
sfx_mod: .mod
sfx_exe: .exe
#
val_root: <root>\examples
val_rank: all

Best Regards

Huy
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24635

  • akakalot
  • akakalot's Avatar
Dear All,
I am appreciate about Prof.jmhervouet and Mr. Huy's help.
I try to compile Telemac Trunk version again with Mr. Huy systel set up.
Unfortunately, It doesn't work.
Father more, I set up telemac v7p0 parallel in the same folder C:\opentelemac-mascaret\ and It has done.
I have just done benchmark speed compare v7p0 and v7p1 in both scalar and parallel mode. I just want to share it for all and make a quesion that v7p1 w improve speed of calculation?
Thank you
Attachments:
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24637

  • akakalot
  • akakalot's Avatar
Dear Mr Huy,
I have the exact the same error with your case.
gw32/4.8.0/../../../../lib/libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-fconvert=big-endian' '-frecord-marker=4' '-v' '-o' 'telema
c2d.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
COMPILER_PATH=c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w64-ming
w32/4.8.0/;c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/;c:/opentelemac-ma
scaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mi
ngw32/bin/
LIBRARY_PATH=c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4
.8.0/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/;c:/opentelemac-mascaret/mi
ngw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib
/../lib/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0
/../../../../lib/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-ming
w32/4.8.0/../../../../x86_64-w64-mingw32/lib/;c:/opentelemac-mascaret/mingw64/bi
n/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../
COLLECT_GCC_OPTIONS='-fconvert=big-endian' '-frecord-marker=4' '-v' '-o' 'telema
c2d.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.0/col
lect2.exe --sysroot=c:\opentelemac-mascaret\mingw64\bin\../../mingw64 -m i386pep
-Bdynamic -o telemac2d.exe c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_6
4-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o c:/opentele
mac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-
w64-mingw32/lib/../lib/crtbegin.o -Lc:/opentelemac-mascaret/mingw64/bin/../lib/g
cc/x86_64-w64-mingw32/4.8.0 -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc -Lc
:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../
../x86_64-w64-mingw32/lib/../lib -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gc
c/x86_64-w64-mingw32/4.8.0/../../../../lib -Lc:/opentelemac-mascaret/mingw64/bin
/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib -Lc:/ope
ntelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../.. -lm C
:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\telemac2d\homere_telemac2d.l
ib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\waqtel\homere_telemac2d.
lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\stbtel\homere_telemac2d
.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\tomawac\homere_telemac
2d.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\sisyphe\homere_telem
ac2d.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\utils\ad\homere_te
lemac2d.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\nestor\homere_t
elemac2d.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\utils\bief\hom
ere_telemac2d.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\utils\dam
ocles\homere_telemac2d.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\
utils\hermes\homere_telemac2d.lib C:\opentelemac-mascaret\v7p2\builds\win7gforsd
bg\lib\utils\parallel\homere_telemac2d.lib C:\opentelemac-mascaret\v7p2\builds\w
in7gforsdbg\lib\utils\special\homere_telemac2d.lib -lgfortran -lmingw32 -lgcc_s
-lgcc -lmoldname -lmingwex -lmsvcrt -lquadmath -lm -lmingw32 -lgcc_s -lgcc -lmol
dname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgc
c_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/opentelemac-mascaret/mingw64/bin/../l
ib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/crtend
.o
created: telemac2d.exe
re-copying: telemac2d.exe C:\opentelemac-mascaret\v7p1\examples\telemac2d\d
ambreak\t2d_dambreak_v1p0.cas_2016-12-19-12h01min41s\out_telemac2d.exe

... handling sortie file(s)


Running your simulation(s) :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



C:\opentelemac-mascaret\v7p1\examples\telemac2d\dambreak\t2d_dambreak_v1p0.cas_2
016-12-19-12h01min41s\out_telemac2d.exe


_ _ ___ _ ____
_ __
| | | | |__ \ | | |___
| /_ |
| |_ ___ | | ___ _ __ ___ __ _ ___ ) | __| | ______ __ __ _/
/ _ __ | |
| __| / _ \| | / _ \| '_ ` _ \ / _` | / __| / / / _` | |______| \ \ / / |_ _
| | '_ \ | |
| |_ | __/| || __/| | | | | || (_| || (__ / /_ | (_| | \ V / / /
| |_) | | |
\__| \___||_| \___||_| |_| |_| \__,_| \___||____| \__,_| \_/ /_/
| .__/ |_|

| |

|_|
LISTING OF TELEMAC2D


TTTTT EEEEE L EEEEE M M AAAAA CCCCC
T E L E MM MM A A C
T EEE L EEE M M M AAAAA C
T E L E M M A A C
T EEEEE LLLLL EEEEE M M A A CCCCC

2D VERSION DEV FORTRAN 2003

~^~^~^~^~^~^~^~^~^~^~^^~^~^~^~^~^~
~ ~
\ ' o '
/\ o \ o
>=)'> ' /\ '
\/ \ >=)'> ~
/ /\ \/
~ >=)'> / .
\/ )
/ (
~ ) )
} ~ ( ( (
{ ) ) )
} } . ( ( (
{ { /^^^^^^^^^^^^
^^^^^^^^^\ /
^^^^^^^^^

END OF FILE FOR DAMOCLES

********************************************
* LECDON: *
* AFTER CALLING DAMOCLES *
* CHECKING OF DATA READ *
* IN THE STEERING FILE *
********************************************

NO SPECIFIC TREATMENT OF DRY ZONES
IN FINITE VOLUMES

EXITING LECDON. NAME OF THE STUDY:
DAM BREAK OVER DRY BED

OPENING FILES FOR TELEMAC2D
- FILE T2DGEO OF TYPE BIG_ENDIAN
- FILE T2DGEO IS SINGLE PRECISION

*****************************
* MEMORY ORGANIZATION *
*****************************

READ_MESH_INFO: TITLE= TELEMAC 2D : RUPTURE DE BARRAGE UNIDIMENSIONNELLE
NUMBER OF ELEMENTS: 8978
NUMBER OF POINTS: 4624

FORMAT NOT INDICATED IN TITLE

MXPTEL (BIEF) : MAXIMUM NUMBER OF ELEMENTS AROUND A POINT: 7
MAXIMUM NUMBER OF POINTS AROUND A POINT: 7
DIMENSION 1 OF IKLE: 8978
IELM0: 10
CORRXY (BIEF):NO MODIFICATION OF COORDINATES

MESH: MESH ALLOCATED

*************************************
* END OF MEMORY ORGANIZATION: *
*************************************

INBIEF (BIEF): NOT A VECTOR MACHINE (ACCORDING TO YOUR DATA)

FONSTR (BIEF): NO BATHYMETRY IN THE GEOMETRY FILE
AND NO BATHYMETRY FILE. THE BOTTOM
LEVEL IS FIXED TO ZERO BUT STILL
CAN BE MODIFIED IN CORFON.

STRCHE (BIEF): NO MODIFICATION OF FRICTION

THERE IS 1 LIQUID BOUNDARIES:

BOUNDARY 1 :
BEGINS AT BOUNDARY POINT: 68 , WITH GLOBAL NUMBER: 68
AND COORDINATES: 20.10001 0.000000
ENDS AT BOUNDARY POINT: 135 , WITH GLOBAL NUMBER: 4624
AND COORDINATES: 20.10001 20.10001

THERE IS 1 SOLID BOUNDARIES:

BOUNDARY 1 :
BEGINS AT BOUNDARY POINT: 135 , WITH GLOBAL NUMBER: 4624
AND COORDINATES: 20.10001 20.10001
ENDS AT BOUNDARY POINT: 68 , WITH GLOBAL NUMBER: 68
AND COORDINATES: 20.10001 0.000000

CORFON (TELEMAC2D): NO MODIFICATION OF BOTTOM

CONDIN : WITH SPECIAL INITIAL CONDITIONS
YOU HAVE TO MODIFY CONDIN

PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 2
_____________
runcode::main:
:
|runCode: Fail to run
|C:\opentelemac-mascaret\v7p1\examples\telemac2d\dambreak\t2d_dambreak_v1p0.c
as_2016-12-19-12h01min41s\out_telemac2d.exe
|~~~~~~~~~~~~~~~~~~
|STOP 1
|~~~~~~~~~~~~~~~~~~

C:\opentelemac-mascaret\v7p2>runcode.py telemac2d C:\opentelemac-mascaret\v7p1\e
xamples\telemac2d\dambreak\t2d_dambreak_v1p0.cas


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

_ _
_
| | (_)
(_)
_ _ _ __ | | __ _ __ ___ __ __ _ __ _ __ ___ __ __ _ ___
_ ___ _ __
| | | || '_ \ | |/ /| '_ \ / _ \ \ \ /\ / /| '_ \ | '__| / _ \\ \ / /| |/ __|
| | / _ \ | '_ \
| |_| || | | || < | | | || (_) | \ V V / | | | | | | | __/ \ V / | |\__ \
| || (_) || | | |
\__,_||_| |_||_|\_\|_| |_| \___/ \_/\_/ |_| |_| |_| \___| \_/ |_||___/
|_| \___/ |_| |_|




... parsing configuration file: C:\opentelemac-mascaret\v7p2\configs\systel.cis-
windows.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: win7gforsdbg
+> root: C:\opentelemac-mascaret\v7p2


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


... reading the main module dictionary

... processing the main CAS file(s)
+> running in English

... handling temporary directories

... checking coupling between codes

... checking parallelisation

... first pass at copying all input files
copying: geo_dambreak.slf C:\opentelemac-mascaret\v7p1\examples\telemac2
d\dambreak\t2d_dambreak_v1p0.cas_2016-12-19-12h03min23s\T2DGEO
copying: t2d_dambreak.f C:\opentelemac-mascaret\v7p1\examples\telemac2d\
dambreak\t2d_dambreak_v1p0.cas_2016-12-19-12h03min23s\t2dfort.f
copying: geo_dambreak.cli C:\opentelemac-mascaret\v7p1\examples\telemac2
d\dambreak\t2d_dambreak_v1p0.cas_2016-12-19-12h03min23s\T2DCLI
re-copying: C:\opentelemac-mascaret\v7p1\examples\telemac2d\dambreak\t2d_da
mbreak_v1p0.cas_2016-12-19-12h03min23s\T2DCAS
copying: telemac2d.dico C:\opentelemac-mascaret\v7p1\examples\telemac2d\
dambreak\t2d_dambreak_v1p0.cas_2016-12-19-12h03min23s\T2DDICO

... checking the executable
t2dfort.f:26.17:

INTEGER LNG,LU
1
t2dfort.f:22.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_speci
al', use-associated at (2)
t2dfort.f:27.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
t2dfort.f:148.17:

INTEGER LNG,LU
1
t2dfort.f:144.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_speci
al', use-associated at (2)
t2dfort.f:149.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
runCAS: could not compile: t2d_dambreak.exe
|processExecutable: could not compile your FORTRAN (runcode=1).
|
|... The following command failed for the reason above (or below)
|gfortran -c -g -fconvert=big-endian -frecord-marker=4 -I C:\opentelemac-mas
caret\v7p2\builds\win7gforsdbg\lib\utils\special -I C:\opentelemac-mascaret\v7p
2\builds\win7gforsdbg\lib\utils\parallel -I C:\opentelemac-mascaret\v7p2\builds
\win7gforsdbg\lib\utils\hermes -I C:\opentelemac-mascaret\v7p2\builds\win7gfors
dbg\lib\utils\damocles -I C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\
utils\bief -I C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\nestor -I C
:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\utils\ad -I C:\opentelemac-
mascaret\v7p2\builds\win7gforsdbg\lib\sisyphe -I C:\opentelemac-mascaret\v7p2\b
uilds\win7gforsdbg\lib\tomawac -I C:\opentelemac-mascaret\v7p2\builds\win7gfors
dbg\lib\stbtel -I C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\waqtel
-I C:\opentelemac-mascaret\v7p2\builds\win7gforsdbg\lib\telemac2d t2dfort.f
|

C:\opentelemac-mascaret\v7p2>
Could you help me solve this issue
Thank you
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24638

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi akakalot,

Have you read this to solve the problem: www.opentelemac.org/index.php/kunena/2-w...r?limitstart=0#23163
Hello,

Indeed MASCARET is being added to the mix. You have two choices:

- just ignore MASCARET and add -mascaret in your configuration file:

modules: system -dredgesim -mascaret


- compile MASCARET, but you need to add the c command (nobody is perfect):

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

You can add that one in the [general] section of your configuration file.

Hope this helps,
Sébastien.


Best Regards

Huy
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24639

  • akakalot
  • akakalot's Avatar
Hi Huy,
Thank you for your guide. Actually I mention about second problem in your case. I guess that something wrong with fortran. Because I have already add 2 things to my config file:
- modules: system -dredgesim -mascaret
- cmd_obj_c: gcc -c <srcName> -o <objName>
Thank for your advantage
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24640

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi akakalot,

Noted in this link: www.opentelemac.org/index.php/kunena/2-w...r?limitstart=0#23170

meaning that: you have to modify FORTRAN files in your own cases. If you test some cases in TRUNK, It maybe unsuccessful because the FORTRAN files in this have not been updated yet.

Hope this helps

Regards
Huy
The administrator has disabled public write access.
The following user(s) said Thank You: akakalot
  • Page:
  • 1
  • 2
Moderators: borisb

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