johannes@misu_su_se
New Member
Dear Bulletin!
Do anyone have experience of succesfully compiling and running SCAM
with intel's compiler version 8.0? The SCAM user-guide tells that the
modifications needed for getting the model running with Intel's compiler
should be minor...
As you have understood I'm no pro in programming.
So far I have modified the configure-script so that the Intel compiler is
choosen and the configure-script testing of icc and ifort results in 2 ok,
when it comes to the test of the linker however my solution is not so
popular anymore (error message display at the bottom of this post)..
would be most grateful for hints on solving the problem
best regards
Johannes Karlsson
Checking linker (ifort)... ifort -o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/testprg /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f90test.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f77test.o
failed.
Command that failed:
ifort -o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/testprg /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f90test.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f77test.o
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x366): In function `main':
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:68: multiple definition of `main'
/afs/su.se/system/i386_linux24/contrib/ex-pkg/2003-08-11/intel_fc_80/lib/for_main.o(.text+0x0): first defined here
ld: Warning: size of symbol `main' changed from 42 in /afs/su.se/system/i386_linux24/contrib/ex-pkg/2003-08-11/intel_fc_80/lib/for_main.o to 26 in /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o
/afs/su.se/system/i386_linux24/contrib/ex-pkg/2003-08-11/intel_fc_80/lib/for_main.o(.text+0x1c): In function `main':
: undefined reference to `MAIN__'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0xf7): In function `run_tests':
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:26: undefined reference to `test_int77'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x1bf):/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:37: undefined reference to `test_int90'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x287):/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:48: undefined reference to `test_double77'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x2fd):/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:57: undefined reference to `test_double90'
make: *** [/local/joka7201/cam/cam1/models/atm/cam/tools/scam/obj/config.out] Error 1
Do anyone have experience of succesfully compiling and running SCAM
with intel's compiler version 8.0? The SCAM user-guide tells that the
modifications needed for getting the model running with Intel's compiler
should be minor...
As you have understood I'm no pro in programming.
So far I have modified the configure-script so that the Intel compiler is
choosen and the configure-script testing of icc and ifort results in 2 ok,
when it comes to the test of the linker however my solution is not so
popular anymore (error message display at the bottom of this post)..
would be most grateful for hints on solving the problem
best regards
Johannes Karlsson
Checking linker (ifort)... ifort -o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/testprg /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f90test.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f77test.o
failed.
Command that failed:
ifort -o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/testprg /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f90test.o /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/f77test.o
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x366): In function `main':
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:68: multiple definition of `main'
/afs/su.se/system/i386_linux24/contrib/ex-pkg/2003-08-11/intel_fc_80/lib/for_main.o(.text+0x0): first defined here
ld: Warning: size of symbol `main' changed from 42 in /afs/su.se/system/i386_linux24/contrib/ex-pkg/2003-08-11/intel_fc_80/lib/for_main.o to 26 in /afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o
/afs/su.se/system/i386_linux24/contrib/ex-pkg/2003-08-11/intel_fc_80/lib/for_main.o(.text+0x1c): In function `main':
: undefined reference to `MAIN__'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0xf7): In function `run_tests':
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:26: undefined reference to `test_int77'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x1bf):/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:37: undefined reference to `test_int90'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x287):/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:48: undefined reference to `test_double77'
/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.o(.text+0x2fd):/afs/su.se/home/j/o/joka7201/myhd/cam/cam1/models/atm/cam/tools/scam/obj/ctest.c:57: undefined reference to `test_double90'
make: *** [/local/joka7201/cam/cam1/models/atm/cam/tools/scam/obj/config.out] Error 1