Welcome, Guest
Username: Password: Remember me

TOPIC: compilation of version v7p1r0

compilation of version v7p1r0 8 years 10 months ago #19246

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
I try to compile the new version v7p1r0 on my MacBook Air (Mac OS), but it stops with the following error message:
ld: archive has no table of contents file '/Users/ogourgue/Applications/telemac/v7p1r0/builds/serial/lib/utils/parallel/homere_partel.a' for architecture x86_6I 4
collect2: error: ld returned 1 exit status
compileTELEMAC::main:
      +> creating executable: homere_partel:
   |createExeFiles: something went wrong, I am not sure why (runcode=1).
   |      
   |... The following command failed for the reason above (or below)
   |gfortran-mp-4.9 -fconvert=big-endian -frecord-marker=4 -v -o /Users/ogourgue/Applications/telemac/v7p1r0/builds/serial/bin/partel declarations_partel.o partitioner.o partel.o parres.o homere_partel.o  /Users/ogourgue/Applications/telemac/v7p1r0/builds/serial/lib/utils/bief/homere_partel.a /Users/ogourgue/Applications/telemac/v7p1r0/builds/serial/lib/utils/hermes/homere_partel.a /Users/ogourgue/Applications/telemac/v7p1r0/builds/serial/lib/utils/parallel/homere_partel.a /Users/ogourgue/Applications/telemac/v7p1r0/builds/serial/lib/utils/special/homere_partel.a 
   |

For information, it works with previous versions. I just tested version v7p0r1 with the same configuration to be sure, and it does work.

Any idea where the problem comes from?

Thank you for your help.
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 10 months ago #19247

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

I cannot reproduce your error -- can we see your configuration file ?

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

compilation of version v7p1r0 8 years 10 months ago #19248

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
... Could it be that you are still pointing to your v7p0 python directories ?

(compileTELEMAC.py has changed slightly, in particular the order with which we compile PARTEL).

Try making sure your python points to the new v7p1r0/scripts ...

Hope this helps,
Sébastien.
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 10 months ago #19249

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Thank you Sébastien.

In attachment, the configuration file and the script to compile the code.

I am pointing to the new python directories.


edit: .txt is not the correct file extension, but the forum did not allow to upload it otherwise
Attachments:
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 10 months ago #19250

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Ah -- you now have to also include special (together with parallel) ... in every parallel compilation.

incs_parallel:      -I /opt/local/include/openmpi-gcc49/
incs_special:       -I /opt/local/include/openmpi-gcc49/

Do recompile using --clean and confirm OK.

Sébastien


PS: Note that the following key are not necesssary anymore:
- root (which allows you to transfer the same config file from one version to another)
- version
- options (we are now looking for the appropriate cmd_* to see what is meant)
- par_cmdexec (PARTEL is now used by default, as opposed to its python equivalent)
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 10 months ago #19252

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Unfortunately, the problem arises when compiling the "serial" configuration.

Before making the changes you suggested, I got another error message with the "parallel" configuration, arising much earlier.

Now, I have the same error message as in "serial" and "parallel".
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 10 months ago #19258

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

I have tried to use your configuration file as is (replacing only my path in the root key) and it works fine on my windows+gfortran system, compiling successfully the serial configuration.

I have also tried on a Linux+gfortran system (Fedora, as I do not have a Mac) and this work fine too.

I doubt it is because of your Mac -- especially since it works with v7p0. In the serial configuration, there are no external libraries, so it cannot be the reason. You configuration file seems fine.

I do not understand ...
Can anyone else reproduce this error ?

All this seems to point to is the system configuration (PATH/SYSTELCFG/root). Can you try using the -r options and the -f option as well as -c serial, if possible, just to check ... ?

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

compilation of version v7p1r0 8 years 10 months ago #19265

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
A similar configuration file works indeed on our Linux cluster.

As you suggested Sébastien, I adapted my compilation script using the -r and -f options:

#!/bin/bash

export SYSTELCFG=/Users/ogourgue/Applications/telemac/my_configs/systel.seldon.v7p1r0.cfg

python2.7 /Users/ogourgue/Applications/telemac/v7p1r0/scripts/python27/compileTELEMAC.py -c serial -r /Users/ogourgue/Applications/telemac/v7p1r0 -f /Users/ogourgue/Applications/telemac/my_configs/systel.seldon.v7p1r0.cfg

Unfortunately, that dit not solve the problem...
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 10 months ago #19266

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
OK -- thanks for trying.

Last resort -- would you be able to redirect the full screen output to a txt file and share this with us ?

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

compilation of version v7p1r0 8 years 10 months ago #19267

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Full screen output in attachment.
Attachments:
The administrator has disabled public write access.
Moderators: borisb

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