Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation

Compilation 8 years 3 months ago #23432

  • smk.svks
  • smk.svks's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 93
  • Thank you received: 1
Hello,
I'm trying to install V7p1r1 in Ubuntu (14) version and facing the following error.PFA for the systel file and the error message.

Any modification?

Thanks,
Attachments:
The administrator has disabled public write access.

Compilation 8 years 3 months ago #23434

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi try removing the folowwing line from your systel.cfg file:
root:	/home/administrator/opentelemac/v7p1r1
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 8 years 3 months ago #23435

  • smk.svks
  • smk.svks's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 93
  • Thank you received: 1
Hello,

Initially I tried without root, it gave me the same error so I added but still the error is same :(
The administrator has disabled public write access.

Compilation 8 years 3 months ago #23436

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You should add the key under [general].
It is not taken into account under [configurations].

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 8 years 3 months ago #23439

  • smk.svks
  • smk.svks's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 93
  • Thank you received: 1
Some other errors Yugi
Attachments:
The administrator has disabled public write access.

Compilation 8 years 3 months ago #23440

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

Could you replace your systel.cfg by the following:
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs:    ubugfmpich2
#
#
# _____          ___________________________________________________
# ____/ GENERAL /__________________________________________________/
[general]
modules: system
#
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    mpif90 -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs>  <libs>
#
mods_all:   -I <config>
#
sfx_zip:    .gztar
sfx_lib:    .a
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:
#
val_root:   <root>/examples
val_rank:   all
# also possible val_rank:   <3 >7 6
#
# _____                         ____________________________________
# ____/ Ubuntu gfortran mpich2 /___________________________________/
[ubugfmpich2]
#
brief: parallel mode, using mpiexec directly (of the MPICH2 package).
       The only difference with the scalar versions (optimised) is the presence
       of the key mpi_cmdexec and the -DHAVE_MPI compilation directive.
       Of course, you also need the key par_cmdexec.
       Finally, note that this configuration also works whether
       processor is 0 or 1.
#
mpi_cmdexec:   mpiexec -wdir <wdir> -n <ncsize> <exename>
#
cmd_obj:    mpif90 -c -O3 -fbacktrace -finit-real=nan -DHAVE_MPI -DHAVE_MUMPS -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
#
libs_partel:        <root>/optionals/metis-5.1.0/libmetis/libmetis.a
libs_all:           -lstdc++ 
#

Then go into <path_to_your_install>/optionals/metis-5.1.0
run:
cmake .
make

Then rerun compileTELEMAC.py

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 8 years 3 months ago #23442

  • smk.svks
  • smk.svks's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 93
  • Thank you received: 1
Hllo Yugi,

Thank you so much. It's compiling but not fully (something is better than nothing :P)
Attached the error file

Thanks in advance,
Sathish
Attachments:
The administrator has disabled public write access.

Compilation 8 years 3 months ago #23445

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
My bad forgot to remove somthing in the systel.cfg i gave you.
In the line below
cmd_obj:    mpif90 -c -O3 -fbacktrace -finit-real=nan -DHAVE_MPI -DHAVE_MUMPS -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>

Remove the -DHAVE_MUMPS and run compileTELEMAC.py --clean
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 8 years 3 months ago #23452

  • smk.svks
  • smk.svks's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 93
  • Thank you received: 1
Still not working.

- completed: .../v7p1r1/sources/utils/splitsel/splitsel.f
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ] 97 ar: declarations_special.o: No such file or directory


Hummm ... I could not complete my work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compileTELEMAC::createLibFiles:
+> failed: ar cru /home/administrator/opentelemac/v7p1r1/builds/ubugfmpich2/lib/utils/special/splitsel.a declarations_special.o plante.o get_nodes_per_element.o check_allocate.o write_error.o check_call.o
... The following command failed for the reason above (or below)
ar cru /home/administrator/opentelemac/v7p1r1/builds/ubugfmpich2/lib/utils/special/splitsel.a declarations_special.o plante.o get_nodes_per_element.o check_allocate.o write_error.o check_call.o:
administrator@administrator-S2600CP:~/opentelemac/v7p1r1/scripts/python27$
The administrator has disabled public write access.

Compilation 8 years 3 months ago #23456

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Try running
compileTELEMAC.py --rescan --clean
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.
Moderators: borisb

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