[Met_help] [rt.rap.ucar.edu #66021] History for installation of MET based on intel compiler

John Halley Gotway via RT met_help at ucar.edu
Mon Jun 2 14:14:10 MDT 2014


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

 dear all:
        Now I am trying to install the MET package on the Red Hat cluster
and adopt the intel compiler. now I confront some trouble. the error as
follow:
     *** Making the Model Evaluation Tools Project ***

/cm/shared/apps/intel-cluster-tools/Compiler/11.0/069/bin/intel64/icc
concat_str
ing.cc -Wshadow -static  -DBLOCK4 -c
/cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(48): error:
identifi
er "__ATOMIC_ACQ_REL" is undefined
    { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
                                              ^
/cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(48): error:
identifi
er "__atomic_fetch_add" is undefined
    { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
             ^
/cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(52): error:
identifi
er "__ATOMIC_ACQ_REL" is undefined
    { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
                                       ^
/cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(52): error:
identifi
er "__atomic_fetch_add" is undefined
    { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
      ^
compilation aborted for concat_string.cc (code 2)
make[3]: *** [concat_string.o] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

I specify CC CXX and FC to the icc and ifort fullpath, and the required
libraries are configured by the intel compiler. The  user_def.mk is as the
accessaries show. Through analysising the error, I think it is the problems
of the compiler's configure, but please help me find out the exact
error and the methods to correct it.

  Many thanks for your help!
 best wishes!

                                       HuangHuang
                                 High-Performance Computing Institution in
Tsinghua University


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #66021] installation of MET based on intel compiler
From: John Halley Gotway
Time: Fri Apr 04 10:04:26 2014

I apologize for the long delay in getting back with you.  This
compilation error is occurring on the first source file to be
compiled.  Unfortunately, I've never seen that particular compilation
error
before.  I strongly suspect that there's a problem in how the icc
compiler is installed.  Were you able to use that compiler to
successfully compile other source code?  For example, were you able to
compile the NetCDF library using /cm/shared/apps/intel-cluster-
tools/Compiler/11.0/069/bin/intel64/icc?

Have you made any progress on this issue since you initially wrote?

Thanks,
John Halley Gotway
met_help at ucar.edu

On 03/29/2014 07:58 AM, 黄煌 via RT wrote:
>
> Sat Mar 29 07:58:54 2014: Request 66021 was acted upon.
> Transaction: Ticket created by williamsky55 at gmail.com
>         Queue: met_help
>       Subject: installation of MET based on intel compiler
>         Owner: Nobody
>    Requestors: williamsky55 at gmail.com
>        Status: new
>   Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=66021 >
>
>
>   dear all:
>          Now I am trying to install the MET package on the Red Hat
cluster
> and adopt the intel compiler. now I confront some trouble. the error
as
> follow:
>       *** Making the Model Evaluation Tools Project ***
>
> /cm/shared/apps/intel-cluster-
tools/Compiler/11.0/069/bin/intel64/icc
> concat_str
> ing.cc -Wshadow -static  -DBLOCK4 -c
> /cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(48):
error:
> identifi
> er "__ATOMIC_ACQ_REL" is undefined
>      { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
>                                                ^
> /cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(48):
error:
> identifi
> er "__atomic_fetch_add" is undefined
>      { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
>               ^
> /cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(52):
error:
> identifi
> er "__ATOMIC_ACQ_REL" is undefined
>      { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
>                                         ^
> /cm/shared/apps/gcc/4.7.0/include/c++/4.7.0/ext/atomicity.h(52):
error:
> identifi
> er "__atomic_fetch_add" is undefined
>      { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
>        ^
> compilation aborted for concat_string.cc (code 2)
> make[3]: *** [concat_string.o] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> I specify CC CXX and FC to the icc and ifort fullpath, and the
required
> libraries are configured by the intel compiler. The  user_def.mk is
as the
> accessaries show. Through analysising the error, I think it is the
problems
> of the compiler's configure, but please help me find out the exact
> error and the methods to correct it.
>
>    Many thanks for your help!
>   best wishes!
>
>                                         HuangHuang
>                                   High-Performance Computing
Institution in
> Tsinghua University
>

------------------------------------------------


More information about the Met_help mailing list