iffefit compile on BlueWhite64
Hello list I try to install ifeffit 1.2.9 on Linux Bluewhite64 12.0 (slackware 12.0 based) PGPLOt run perfectely, ./configure ifeffit ok but when compile, error message: ... /usr/local/src/ifeffit-1.2.9/src/lib/iff_cursor.f:68: undefined reference to `_gfortran_concat_string' /usr/X11R6/lib/libgfortranbegin.a(fmain.o): In function `main': (.text+0x5): undefined reference to `_gfortran_set_args' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_i4_i4' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_transfer_array' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_r4_i4' collect2: ld returned 1 exit status make[3]: *** [ifftest1] Error 1 make[3]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src/test' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/ifeffit-1.2.9' make: *** [all-recursive-am] Error 2 My computer: Linux chy 2.6.21.5 #1 SMP Fri Jun 15 08:49:16 EEST 2007 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux Same idea about this error message, Thanks Ch -- Chachi Rojas Ayala GMC FCF UNMSM Claro:01-97489347 email:crojasa@unmsm.edu.pe chachi.rojas@gmail.com
Dear Chachi: I am not sure that Ifeffit is compilable by gfortran. You might have to install g77 and use that. Carlo On Tue, 21 Aug 2007, Chachi Rojas wrote:
Hello list I try to install ifeffit 1.2.9 on Linux Bluewhite64 12.0 (slackware 12.0 based) PGPLOt run perfectely, ./configure ifeffit ok but when compile, error message:
... /usr/local/src/ifeffit-1.2.9/src/lib/iff_cursor.f:68: undefined reference to `_gfortran_concat_string' /usr/X11R6/lib/libgfortranbegin.a(fmain.o): In function `main': (.text+0x5): undefined reference to `_gfortran_set_args' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_i4_i4' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_transfer_array' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_r4_i4' collect2: ld returned 1 exit status make[3]: *** [ifftest1] Error 1 make[3]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src/test' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/ifeffit-1.2.9' make: *** [all-recursive-am] Error 2
My computer: Linux chy 2.6.21.5 #1 SMP Fri Jun 15 08:49:16 EEST 2007 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux Same idea about this error message, Thanks Ch
-- Carlo U. Segre -- Professor of Physics Associate Dean for Special Projects, Graduate College Illinois Institute of Technology Voice: 312.567.3498 Fax: 312.567.3494 segre@iit.edu http://www.iit.edu/~segre segre@debian.org
Hi Chachi, You should definately try doing as Carlo suggested. There was some discussion of compiling for 64 bit linux about a year and half ago. Here is a post from me: http://cars9.uchicago.edu/pipermail/ifeffit/2005-September/002018.html Try following that thread and the one linked to in the post. I don't know if any of that will actually be relevant, but sometimes just a hint of something helpful is enough to get over a compilation hurdle. Sounds like you have a sweet machine. Lucky you! Good luck, B On Tuesday 21 August 2007, Carlo Segre wrote:
Dear Chachi:
I am not sure that Ifeffit is compilable by gfortran. You might have to install g77 and use that.
Carlo
On Tue, 21 Aug 2007, Chachi Rojas wrote:
Hello list I try to install ifeffit 1.2.9 on Linux Bluewhite64 12.0 (slackware 12.0 based) PGPLOt run perfectely, ./configure ifeffit ok but when compile, error message:
... /usr/local/src/ifeffit-1.2.9/src/lib/iff_cursor.f:68: undefined reference to `_gfortran_concat_string' /usr/X11R6/lib/libgfortranbegin.a(fmain.o): In function `main': (.text+0x5): undefined reference to `_gfortran_set_args' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_i4_i4' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_transfer_array' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_r4_i4' collect2: ld returned 1 exit status make[3]: *** [ifftest1] Error 1 make[3]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src/test' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/ifeffit-1.2.9' make: *** [all-recursive-am] Error 2
My computer: Linux chy 2.6.21.5 #1 SMP Fri Jun 15 08:49:16 EEST 2007 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux Same idea about this error message, Thanks Ch
-- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/
Hi Chachi,
On 8/21/07, Chachi Rojas
Hello list I try to install ifeffit 1.2.9 on Linux Bluewhite64 12.0 (slackware 12.0 based) PGPLOt run perfectely, ./configure ifeffit ok but when compile, error message:
... /usr/local/src/ifeffit-1.2.9/src/lib/iff_cursor.f:68: undefined reference to `_gfortran_concat_string' /usr/X11R6/lib/libgfortranbegin.a(fmain.o): In function `main': (.text+0x5): undefined reference to `_gfortran_set_args' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_i4_i4' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_transfer_array' /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_r4_i4' collect2: ld returned 1 exit status make[3]: *** [ifftest1] Error 1 make[3]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src/test' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/ifeffit-1.2.9' make: *** [all-recursive-am] Error 2
My computer: Linux chy 2.6.21.5 #1 SMP Fri Jun 15 08:49:16 EEST 2007 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux Same idea about this error message, Thanks Ch
Right now, Ifeffit doesn't build correctly with gfortran. I do have a box with gfortran and not g77 on it, and will work on this for Ifeffit 1.2.10. The build is broken, but I think it's fixable. I'll work on this and send a progress report within a few days. But: you say that PGPLOT runs perfectly. I believe you did not install it with the PGPLOT_install script, as the one distributed with Ifeffit 1.2.9 does not work with gfortran either (and libpgplot.so does not get written). For Ifeffit 1.2.10, using PGPLOT_install to install PGPLOT will be a requirement. So your choices are to build both PGPLOT and Ifeffit with g77 now, or wait until I can get a build script that can use gfortran. Sorry for the trouble, --Matt
participants (4)
-
Bruce Ravel
-
Carlo Segre
-
Chachi Rojas
-
Matt Newville