Hi,<div><br></div><div>compiling with PGI doesn&#39;t currently work. It would not be difficult to get it to compile with PGI but currently it is not supported. Please let us know if their is a compelling reason why you need to use PGI. </div>

<div><br></div><div>Their should be no performance advantage. Thus I suggest to use Intel or GNU.</div><div><br></div><div>Roland<br><br><div class="gmail_quote">On Wed, Nov 10, 2010 at 8:26 AM, Miah Wadud Dr (ITCS) <span dir="ltr">&lt;<a href="mailto:W.Miah@uea.ac.uk">W.Miah@uea.ac.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Gromacs users,<br>
<br>
I am trying to build Gromacs 4.5 using PGI compiler 10.9 and am getting the<br>
following error message:<br>
<br>
mpicc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/libxml2 -I../../include<br>
-DGMXLIBDIR=\&quot;/cvos/apps/gromacs-4.5/share/top\&quot;<br>
-I/cvos/shared/apps/fftw/pgi/64/3.1.2/include -Mm128 -c main.c -o main.o<br>
&gt;/dev/null 2&gt;&amp;1<br>
source=&#39;maths.c&#39; object=&#39;maths.lo&#39; libtool=yes \<br>
        DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \<br>
        /bin/sh ../../libtool --tag=CC   --mode=compile mpicc<br>
-DHAVE_CONFIG_H -I. -I../../src -I/usr/include/libxml2<br>
-I../../include -DGMXLIBDIR=\&quot;/cvos/apps/gromacs-4.5/share/top\&quot;<br>
-I/cvos/shared/apps/fftw/pgi/64/3.1.2/include  -Mm128 -c -o maths.lo maths.c<br>
 mpicc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/libxml2<br>
-I../../include -DGMXLIBDIR=\&quot;/cvos/apps/gromacs-4.5/share/top\&quot;<br>
-I/cvos/shared/apps/fftw/pgi/64/3.1.2/include -Mm128 -c maths.c  -DPIC -o<br>
.libs/maths.o<br>
PGC-F-0249-#error --  ERROR: No 32 bit wide integer type found! (maths.c:<br>
99)<br>
PGC/x86-64 Linux 10.9-0: compilation aborted<br>
make[4]: *** [maths.lo] Error 1<br>
make[4]: Leaving directory<br>
`/gpfs/ueasystem/escluster/gromacs-4.5/src/gmxlib&#39;<br>
make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory<br>
`/gpfs/ueasystem/escluster/gromacs-4.5/src/gmxlib&#39;<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/gpfs/ueasystem/escluster/gromacs-4.5/src&#39;<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory `/gpfs/ueasystem/escluster/gromacs-4.5/src&#39;<br>
make: *** [all-recursive] Error 1<br>
[root@master1 gromacs-4.5]#<br>
<br>
The configure command typed is:<br>
<br>
[root@master1 gromacs-4.5]# ./configure --enable-shared --enable-double<br>
--enable-mpi --program-suffix=_mpi_d \<br>
--prefix=/cvos/apps/gromacs-4.5<br>
checking build system type... x86_64-unknown-linux-gnu<br>
checking host system type... x86_64-unknown-linux-gnu<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether build environment is sane... yes<br>
checking for a thread-safe mkdir -p... /bin/mkdir -p<br>
checking for gawk... gawk<br>
checking whether make sets $(MAKE)... yes<br>
checking how to create a ustar tar archive... gnutar<br>
checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>
checking for suffix of executables...<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... no<br>
checking whether /cvos/shared/apps/pgi/10.9/linux86-64/10.9/bin/pgcc accepts<br>
-g... yes<br>
checking for /cvos/shared/apps/pgi/10.9/linux86-64/10.9/bin/pgcc option to<br>
accept ISO C89... none needed<br>
checking for style of include used by make... GNU<br>
checking dependency style of<br>
/cvos/shared/apps/pgi/10.9/linux86-64/10.9/bin/pgcc... none<br>
checking dependency style of<br>
/cvos/shared/apps/pgi/10.9/linux86-64/10.9/bin/pgcc... none<br>
checking for mpxlc... no<br>
checking for mpicc... mpicc<br>
checking whether the MPI cc command works... yes<br>
checking for MPI_IN_PLACE in collective operations... no<br>
checking for catamount... no<br>
checking how to run the C preprocessor... mpicc -E<br>
checking for grep that handles long lines and -e... /bin/grep<br>
checking for egrep... /bin/grep -E<br>
checking whether ln -s works... yes<br>
******************************************<br>
* Using CFLAGS from environment variable *<br>
******************************************<br>
checking whether byte ordering is bigendian... no<br>
checking that size_t can hold pointers... yes<br>
checking for SIGUSR1... yes<br>
checking for pipes... yes<br>
checking floating-point format... IEEE754 (little-endian byte and word<br>
order)<br>
checking whether ln -s works... yes<br>
checking whether make sets $(MAKE)... (cached) yes<br>
checking for a sed that does not truncate output... /bin/sed<br>
checking for non-GNU ld... /usr/bin/ld<br>
checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
checking for /usr/bin/ld option to reload object files... -r<br>
checking for BSD-compatible nm... /usr/bin/nm -B<br>
checking how to recognise dependent libraries... pass_all<br>
checking dlfcn.h usability... yes<br>
checking dlfcn.h presence... yes<br>
checking for dlfcn.h... yes<br>
checking whether we are using the GNU C++ compiler... no<br>
checking whether mpicc accepts -g... no<br>
checking dependency style of mpicc... none<br>
checking how to run the C++ preprocessor... /lib/cpp<br>
checking the maximum length of command line arguments... 32768<br>
checking command to parse /usr/bin/nm -B output from mpicc object... failed<br>
checking for objdir... .libs<br>
checking for ar... ar<br>
checking for ranlib... ranlib<br>
checking for strip... strip<br>
checking for mpicc option to produce PIC...<br>
checking if mpicc static flag  works... yes<br>
checking if mpicc supports -c -o file.o... yes<br>
checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports<br>
shared libraries... yes<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>
checking how to hardcode library paths into programs... immediate<br>
checking whether stripping libraries is possible... yes<br>
checking if libtool supports shared libraries... yes<br>
checking whether to build shared libraries... yes<br>
checking whether to build static libraries... yes<br>
configure: creating libtool<br>
appending configuration tag &quot;CXX&quot; to libtool<br>
checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports<br>
shared libraries... yes<br>
libtool.m4: error: problem compiling CXX test program<br>
checking for mpicc option to produce PIC...<br>
checking if mpicc static flag  works... no<br>
checking if mpicc supports -c -o file.o... no<br>
checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports<br>
shared libraries... yes<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>
checking how to hardcode library paths into programs... unsupported<br>
appending configuration tag &quot;F77&quot; to libtool<br>
checking for special C compiler options needed for large files... no<br>
checking for _FILE_OFFSET_BITS value needed for large files... no<br>
checking for _LARGEFILE_SOURCE value needed for large files... no<br>
checking for sqrt in -lm... yes<br>
checking for fftw3.h... yes<br>
checking for main in -lfftw3... yes<br>
checking rpc/rpc.h usability... yes<br>
checking rpc/rpc.h presence... yes<br>
checking for rpc/rpc.h... yes<br>
checking for rpc/xdr.h... yes<br>
checking for xdr_float in -lnsl... yes<br>
checking limits.h usability... yes<br>
checking limits.h presence... yes<br>
checking for limits.h... yes<br>
checking unistd.h usability... yes<br>
checking unistd.h presence... yes<br>
checking for unistd.h... yes<br>
checking for unistd.h... (cached) yes<br>
checking sys/types.h usability... yes<br>
checking sys/types.h presence... yes<br>
checking for sys/types.h... yes<br>
checking sys/time.h usability... yes<br>
checking sys/time.h presence... yes<br>
checking for sys/time.h... yes<br>
checking dirent.h usability... yes<br>
checking dirent.h presence... yes<br>
checking for dirent.h... yes<br>
checking regex.h usability... yes<br>
checking regex.h presence... yes<br>
checking for regex.h... yes<br>
checking for working memcmp... yes<br>
checking return type of signal handlers... void<br>
checking for off_t... yes<br>
checking for vprintf... yes<br>
checking for _doprnt... no<br>
checking if malloc debugging is wanted... no<br>
checking for strcasecmp... yes<br>
checking for strdup... yes<br>
checking for gettimeofday... yes<br>
checking for cbrt... yes<br>
checking for isnan... yes<br>
checking for _isnan... no<br>
checking for isfinite... no<br>
checking for _isfinite... no<br>
checking for fsync... yes<br>
checking for fileno... yes<br>
checking for bool... no<br>
checking for library containing posix_memalign... none required<br>
checking for library containing memalign... none required<br>
checking for _aligned_malloc... no<br>
checking size of int... 4<br>
checking size of long int... 8<br>
checking size of long long int... 8<br>
checking size of off_t... 8<br>
checking size of void*... 8<br>
checking for X... libraries , headers<br>
checking for gethostbyname... yes<br>
checking for connect... yes<br>
checking for remove... yes<br>
checking for shmat... yes<br>
checking for IceConnectionNumber in -lICE... yes<br>
checking libxml/parser.h usability... yes<br>
checking libxml/parser.h presence... yes<br>
checking for libxml/parser.h... yes<br>
checking for main in -lxml2... yes<br>
checking for an ANSI C-conforming const... yes<br>
checking for size_t... yes<br>
checking whether struct tm is in sys/time.h or time.h... time.h<br>
checking for inline... inline<br>
checking for C/C++ restrict keyword... __restrict<br>
checking for uid_t... yes<br>
checking for gid_t... yes<br>
checking for sig_atomic_t... yes<br>
checking whether your compiler can handle assembly files (*.s)... yes<br>
checking whether as fully supports X86_64 SSE2... yes<br>
checking whether byte ordering is bigendian... (cached) no<br>
checking if dlopen supported... yes<br>
configure: creating ./config.status<br>
config.status: creating Makefile<br>
config.status: creating src/Makefile<br>
config.status: creating src/gmxlib/Makefile<br>
config.status: creating src/gmxlib/libgmx_mpi_d.pc<br>
config.status: creating src/gmxlib/gmx_blas/Makefile<br>
config.status: creating src/gmxlib/gmx_lapack/Makefile<br>
config.status: creating src/gmxlib/selection/Makefile<br>
config.status: creating src/gmxlib/statistics/Makefile<br>
config.status: creating src/gmxlib/trajana/Makefile<br>
config.status: creating src/gmxlib/thread_mpi/Makefile<br>
config.status: creating src/gmxlib/nonbonded/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_c/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_ia32_sse/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_ia32_sse2/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_x86_64_sse/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_x86_64_sse2/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_ppc_altivec/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_ia64_single/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_ia64_double/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_bluegene/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_power6/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_f77_single/Makefile<br>
config.status: creating src/gmxlib/nonbonded/nb_kernel_f77_double/Makefile<br>
config.status: creating include/Makefile<br>
config.status: creating include/types/Makefile<br>
config.status: creating include/thread_mpi/Makefile<br>
config.status: creating include/thread_mpi/atomic/Makefile<br>
config.status: creating src/mdlib/Makefile<br>
config.status: creating src/mdlib/libmd_mpi_d.pc<br>
config.status: creating src/kernel/Makefile<br>
config.status: creating src/kernel/libgmxpreprocess_mpi_d.pc<br>
config.status: creating src/tools/Makefile<br>
config.status: creating src/tools/libgmxana_mpi_d.pc<br>
config.status: creating src/ngmx/Makefile<br>
config.status: creating src/contrib/Makefile<br>
config.status: creating scripts/Makefile<br>
config.status: creating admin/Makefile<br>
config.status: creating share/Makefile<br>
config.status: creating share/tutor/Makefile<br>
config.status: creating share/tutor/gmxdemo/Makefile<br>
config.status: creating share/tutor/nmr1/Makefile<br>
config.status: creating share/tutor/nmr2/Makefile<br>
config.status: creating share/tutor/water/Makefile<br>
config.status: creating share/tutor/mixed/Makefile<br>
config.status: creating share/tutor/methanol/Makefile<br>
config.status: creating share/tutor/speptide/Makefile<br>
config.status: creating share/template/Makefile<br>
config.status: creating share/top/Makefile<br>
config.status: creating share/top/gmx.ff/Makefile<br>
config.status: creating share/top/gmx2.ff/Makefile<br>
config.status: creating share/top/encadv.ff/Makefile<br>
config.status: creating share/top/encads.ff/Makefile<br>
config.status: creating share/top/oplsaa.ff/Makefile<br>
config.status: creating share/top/gromos43a1.ff/Makefile<br>
config.status: creating share/top/gromos43a2.ff/Makefile<br>
config.status: creating share/top/gromos45a3.ff/Makefile<br>
config.status: creating share/top/gromos53a5.ff/Makefile<br>
config.status: creating share/top/gromos53a6.ff/Makefile<br>
config.status: creating share/top/charmm27.ff/Makefile<br>
config.status: creating share/top/amber94.ff/Makefile<br>
config.status: creating share/top/amber96.ff/Makefile<br>
config.status: creating share/top/amberGS.ff/Makefile<br>
config.status: creating share/top/amber99.ff/Makefile<br>
config.status: creating share/top/amber99sb.ff/Makefile<br>
config.status: creating share/top/amber99sb-ildn.ff/Makefile<br>
config.status: creating share/top/amber03.ff/Makefile<br>
config.status: creating share/html/Makefile<br>
config.status: creating share/html/images/Makefile<br>
config.status: creating share/html/online/Makefile<br>
config.status: creating man/Makefile<br>
config.status: creating man/man1/Makefile<br>
config.status: creating man/man7/Makefile<br>
config.status: creating Doxyfile<br>
config.status: creating src/config.h<br>
config.status: executing depfiles commands<br>
<br>
Any help will be greatly appreciated.<br>
<br>
Thanks in advance<br>
<br>
----------<br>
Wadud Miah<br>
High Performance Computing Systems Developer<br>
Research Computing Group, University of East Anglia<br>
<br>
Information Services<br>
----------<br>
<br>
----------<br>
Wadud Miah<br>
High Performance Computing Systems Developer<br>
Research Computing Group, University of East Anglia<br>
Telephone: 01603 593856<br>
<br>
Information Services<br>
----------<br>
<font color="#888888"><br>
<br>
--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>
</div>