compilation error

450 views
Skip to first unread message

jt

unread,
Nov 6, 2010, 1:12:41 AM11/6/10
to excitingdft
I have tried to compile EXCITING with ifort on two different
machines. However I got the same error message

make[3]: Entering directory `/home/jtse/exciting/build/mpi'
mpif90 -O3 -ip -unroll -scalar_rep -w90 -DMPI -DMPIRHO -DMPISEC -
Ifinclude -c ../../src/src_inputparser/inputmodules.f90
../../src/src_inputparser/inputmodules.f90(566): warning #5117: Bad #
preprocessor line
#ifdef INPUTDEBUG
-^
../../src/src_inputparser/inputmodules.f90(568): warning #5117: Bad #
preprocessor line
#endif

and this continued ...


./../src/src_inputparser/inputmodules.f90(4824): warning #5117: Bad #
preprocessor line
#endif
-^
../../src/src_inputparser/inputmodules.f90(1001): error #6460: This is
not a field name that is defined in the encompassing structure.
[BASEVECT]
allocate(getstructinput%basevect(3,len))
------------------------^
../../src/src_inputparser/inputmodules.f90(1004): error #6911: The
syntax of this substring is invalid. [BASEVECT]
getstructinput%basevect(:,i)=getvalueofbasevect(&
-------------------------------^
compilation aborted for ../../src/src_inputparser/inputmodules.f90
(code 1)
make[3]: *** [inputmodules.o] Error 1
make[3]: Leaving directory `/home/jtse/exciting/build/mpi'
make[2]: *** [bin] Error 2
make[2]: Leaving directory `/home/jtse/exciting/build/mpi'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jtse/exciting/build/mpi'
make: *** [mpi] Error 2


Any resolution to this problem?

Thanks

Christian

unread,
Nov 6, 2010, 5:41:22 AM11/6/10
to excitingdft
You require the fortran compiler to apply a preprocessor. Ifort has
the -cpp option for that. Which somehow is not in the compile command
You sent. Unti recently we didn't really use mpi on a ifort system but
it is working quite well.

maybe these make.inc file helps to find a working config:

https://github.com/exciting/exciting/blob/master/build/platforms/make.inc.ifort.openmpi

jt

unread,
Nov 6, 2010, 1:13:02 AM11/6/10
to excitingdft
Reply all
Reply to author
Forward
0 new messages