[Trilinos-Users] [EXTERNAL] error configuring trilinos

Andrey Prokopenko aprokop at sandia.gov
Wed Oct 14 10:47:19 EDT 2015


Hi Irena,

If you are building with gcc, why does it use intel (icpc) to compile 
the code? It's hard to say what's going on without more details. Could 
you please attach your configuration script and environment?

-Andrey

On 10/14/2015 08:20 AM, Irena Johnson wrote:
> Hello,
>
> I am building trilinos-12.2.1 on a RHEL 6 system, with 
> non-native gcc4/4.9.1
>
> Could you advise what I am missing from the configuration. I have 
> attached the configuration script.
>
> The error I am getting is:
>
>
>     [100%] Linking CXX executable VerifyFortranC
>     /usr/pppl/cmake/3.4.0-rc1/bin/cmake -E cmake_link_script 
> CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1
>     /usr/pppl/intel/2015.u1/bin/icpc   -O2 -std=c++11 -ggdb 
> -Wno-sign-compare -O3 -DNDEBUG CMakeFiles/VerifyFortranC.dir/main.c.o 
> CMakeFiles/VerifyFortranC.dir/VerifyC.c.o 
> CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o  -o VerifyFortranC 
> libVerifyFortran.a -lifport -lifcore -lpthread
>     ld: warning: libimf.so, needed by 
> /usr/pppl/intel/2015.u1/composer_xe_2015.1.133/compiler/lib/intel64/libifport.so.5, 
> not found (try using -rpath or -rpath-link)
>     ld: warning: libintlc.so.5, needed by 
> /usr/pppl/intel/2015.u1/composer_xe_2015.1.133/compiler/lib/intel64/libifport.so.5, 
> not found (try using -rpath or -rpath-link)
>     CMakeFiles/VerifyFortranC.dir/main.c.o: In function `main':
> /usr/pppl/cmake/3.4.0-rc1/share/cmake-3.4/Modules/FortranCInterface/Verify/main.c:14: 
> undefined reference to `VerifyFortran'
>     gmake[2]: *** [VerifyFortranC] Error 1
>     gmake[2]: Leaving directory 
> `/pfs/tmp/ijohnson/trilinos-12.2.1-Source/build/CMakeFiles/FortranCInterface/VerifyCXX'
>     gmake[1]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2
>     gmake[1]: Leaving directory 
> `/pfs/tmp/ijohnson/trilinos-12.2.1-Source/build/CMakeFiles/FortranCInterface/VerifyCXX'
>     gmake: *** [all] Error 2
> Call Stack (most recent call first):
> cmake/tribits/core/package_arch/TribitsFortranMangling.cmake:50 
> (FortranCInterface_VERIFY)
> cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:1713 (INCLUDE)
> cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:188 
> (TRIBITS_SETUP_ENV)
>   cmake/tribits/core/package_arch/TribitsProject.cmake:93 
> (TRIBITS_PROJECT_IMPL)
>   CMakeLists.txt:89 (TRIBITS_PROJECT)
>
>
> -- Configuring incomplete, errors occurred!
>
>
>
>
>
> -- 
> Irena
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151014/16aef826/attachment.html>


More information about the Trilinos-Users mailing list