Find out the c preprocessor of the Compaq C compiler and try to obtain
its output of parsed C source file.
Thanks Yang,
I will give that a shot if I run into any further problems. As it
turns out it was a problem with our mpicc wrapper. After I localized
the problem, our sysadmin realized that the string is passing through
multiple shell layers and getting interpreted. The long-term solution
is to modify our mpicc script, but for now I have had success
compiling by doing the following procedure.
MD=/scratch/cneale/exe/gromacs-3.3.1
cd $MD
mkdir exec
export FFTW_LOCATION=/home/cneale/exe/fftw-3.1.2/exec
export GROMACS_LOCATION=${MD}/exec
export CPPFLAGS="-I$FFTW_LOCATION/include"
export LDFLAGS="-L$FFTW_LOCATION/lib"
./configure --prefix=$GROMACS_LOCATION --enable-mpi
--program-suffix="_mpi" --disable-nice > output.mpi_configure 2>&1
make mdrun > output.mpi_make_mdrun 2>&1
edit src/gmxlib/Makefile and change the line:
AM_CPPFLAGS = -I$(top_srcdir)/include -DGMXLIBDIR=\"$(datadir)/top\"
to:
AM_CPPFLAGS = -I$(top_srcdir)/include -DGMXLIBDIR='\"$(datadir)/top\"'
## note the added single quotes
make mdrun >> output.mpi_make_mdrun 2>&1
make install-mdrun > output.mpi_make_install_mdrun 2>&1
#########
Terms to assist future searches:
cc: Error: futil.c, line 516: Invalid expression. (badexpr)
strcpy(libpath,GMXLIBDIR);
---------------------^
cc: Warning: futil.c, line 516: Invalid token discarded. (invaltoken)
strcpy(libpath,GMXLIBDIR);
---------------------^
make[1]: *** No rule to make target `../gmxlib/libgmx_mpi.la', needed
by `mdrun'. Stop.
_______________________________________________
gmx-users mailing list [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php