[Octopus-users] CVS compilation
Ioannis Thanopoulos
ioannis at chem.ubc.ca
Fri May 20 04:34:24 WEST 2005
Hi All,
during compilation of the CVS version with ifort 8.1, I encounter
the following error:
ifort -o test.x_debug util.o lda_x.o lda.o lda_funcs.o lda_c_vwn.o
lda_c_pz.o lda_c_pw.o lda_c_amgb.o gga.o gga_pbe.o gga_lb.o mgga.o
mgga_x_tpss.o mgga_c_tpss.o lca.o lca_omc.o lca_lch.o xc_f.o test.o
-L../liboct_parser -loct_parser -lgsl -lgslcblas -lm
-L/opt/intel_fc_80/lib -L/usr/lib -lifport -lifcore -limf -lm -lcxa -lirc
-lunwind -lirc_s
test.o(.text+0x20c): In function `main':
/home/jiannis/octopussy/marques/octopus/libxc/test.c:60: multiple
definition of `main'
/opt/intel_fc_80/lib/for_main.o(.text+0x0): first defined here
ld: Warning: size of symbol `main' changed from 42 in
/opt/intel_fc_80/lib/for_main.o to 21 in test.o
/opt/intel_fc_80/lib/for_main.o(.text+0x1c): In function `main':
: undefined reference to `MAIN__'
make[1]: *** [test.x_debug] Error 1
make[1]: Leaving directory `/home/jiannis/octopussy/marques/octopus/libxc'
make: *** [all-recursive] Error 1
Since there have been from time to time not so favorable comments about
the ifort compiler on this list, is this something specifically to
ifort 8.1 ? Should I try again with another compiler, say, pgf90 ?
I would appreciate any insightful comment. Thanks a lot in advance.
Cheers
Ioannis
--
Dr. Ioannis Thanopoulos
Department of Chemistry
2036 Main Mall
University of British Columbia
Vancouver, B.C., Canada V6T1Z1
Tel: +1 604 822 8374
Fax: +1 604 822 2847
e-mail: ioannis at chem.ubc.ca
More information about the Octopus-users
mailing list