Main menu

Navigation

Problem with the "ar" command (configure)

1 post / 0 new
jeani@...
Problem with the "ar" command (configure)

Hi,

We are trying to run CESM on a machine where the archiver to be used is called "x86_64-cos6-linux-gnu-ar" instead of the generic "ar".

As a result it is not recognized correctly when building since the test is always something like:

# ARCHIVE COMMAND SIMILAR ACROSS ALL PLATFORMS
if test -z "$AR"; then
    AR="ar cq"
fi

(for example in cime/src/externals/mct/configure).

We tried to define AR in the config_compilers.xml (<AR>x86_64-cos6-linux-gnu-ar</AR>) but that does not solve the problem.

Is there a way to make the configuration files more useable on different plateforms, perhaps with a less restrictive test?

Regards,

Jean

Who's new

  • stans
  • ahadibfar@...
  • jskang@...
  • divanova@...
  • mrostami@...