0.9.0 installation
John Tannahill
tannahill1 at llnl.gov
Mon Sep 8 14:43:24 CDT 2003
See below.
Jianwei Li wrote:
> John,
>
> I didn't see any MPICC in your environment vars.
> You can work directly on the old-version library build tree,
> but you need to set those environment vars everytime you re-login.
> It would be better you run a fresh build for the new lib release.
>
> Can you try these steps again?
> setenv MPICC mpicc
> setenv MPIF77 mpif77
> setenv CFLAGS -O
> setenv FFLAGS '-O -W'
>
Untarred a fresh copy of 0.9.0; did the above; plus an autoconf for
good measure.
> ./configure --prefix=/whatever
>
Got the following:
checking for off_t... yes
checking for ssize_t... yes
checking for ptrdiff_t... yes
checking for uchar... yes
checking whether char is unsigned... no
checking whether byte ordering is bigendian... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking size of off_t... 8
checking size of size_t... 8
checking for Fortran "byte"... yes
checking for Fortran "integer*2"... yes
checking if Fortran "byte" is C "signed char"... f77: Severe: Failed while
trying to link.
configure: error: Could not link conftestf.o and conftest.o
> ./make
> ./make install
>
> Or if you are compiling MPI program using "gcc -lmpi",
> you can set the LD library options in CFLAGS env,
> e.g. "setenv CFLAGS '-O -lmpi'".
>
Not sure at all what you mean by this; would need more info to try it.
Will be leaving in about 20 minutes; out the rest of the day.
> Jianwei
>
> On Mon, 8 Sep 2003, John Tannahill wrote:
>
>
>>Rob,
>>
>>Thanks for the quick response. I did not change anything, just did
>>./configure --prefix=/whatever & then ran make. I have included the
>>output from my executing "printenv" below.
>>
>>John
>>
>>/g/g17/jrt/pnetcdf/parallel-netcdf-0.9.0[30]: printenv
>>USER=jrt
>>LOGNAME=jrt
>>HOME=/g/g17/jrt
>>PATH=/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/apps/bin:/usr/gapps/
>>bin:.:/usr/bin/X11:/g/g17/jrt/gem/bin:/g/g17/jrt/gem/esm_tools/bin:/g/g17/jrt/ge
>>m/actm/impact/Other/scripts:/g/g17/jrt/bin:.
>>MAIL=/var/spool/mail/jrt
>>SHELL=/bin/csh
>>SSH_CLIENT=128.115.57.123 38445 922
>>SSH_CONNECTION=128.115.57.123 38445 134.9.1.183 922
>>SSH_TTY=/dev/pts/8
>>TERM=xterm
>>DISPLAY=localhost:17.0
>>SHLVL=1
>>MANPATH=/usr/local/man:/usr/man:/usr/apps/man
>>HOST_GRP=compaq
>>SYS_TYPE=tru64_5sc
>>ENVIRONMENT=INTERACTIVE
>>TMPDIR=/var/tmp/jrt
>>TMP=/var/tmp/jrt
>>LM_LICENSE_FILE=/usr/local/etc/license.client
>>ARCHITECTURE=ARCH_COMPAQ
>>HOSTMACH=tckk_machine
>>GEMHOME=/g/g17/jrt/gem
>>IMP_DATA=/g/g17/jrt/imp_data
>>LPDEST=hpchem
>>PRINTER=hpchem
>>WRK=/g/g17/jrt
>>GLOGIN=1
>>EDITOR=/usr/bin/vi
>>EXINIT=set nowrapscan ignorecase report=1 showmode
>>
>>
>>Rob Ross wrote:
>>
>>>Hi John,
>>>
>>>Could you send all the environment variables and such that you set?
>>>
>>>It looks like maybe MPICC wasn't set? That ld output is vague, but I
>>>think it's saying that i couldn't find those symbols.
>>>
>>>Otherwise this is similar to the issues that Reiner was seeing (i.e. we
>>>need LIBS on the MPI compile lines).
>>>
>>>We're trying to collect all these little issues so we can make another
>>>release that addresses all the configure/build quirks that people are
>>>seeing.
>>>
>>>It's nice that we're down to this though! Next thing you know everything
>>>will build fine, and we will only be worried about performance :)!
>>>
>>>Regards,
>>>
>>>Rob
>>>
>>>On Mon, 8 Sep 2003, John Tannahill wrote:
>>>
>>>
>>>
>>>>I have had pretty good success running a bunch of timings (different file
>>>>sizes, different numbers of processors) of 0.9.0 on NERSC's IBM SP. I am
>>>>now trying to install 0.9.0 on a Compaq Teracluster 2000 that we have. It
>>>>looks like I have installed older versions (not sure exactly what I had to
>>>>do?), but when I try to run the "make" on this version, I get the output
>>>>below. Can anyone help me out?
>>>>
>>>>Note that the ./configure --prefix=... seemed to work fine (did not run
>>>>autoconf); also did not use the --with-mpi=... argument.
>>>>
>>>>Thanks,
>>>>John
>>>>
>>>>/g/g17/jrt/pnetcdf/parallel-netcdf-0.9.0[29]: make
>>>>
>>>>Making `all' in directory /g/g17/jrt/pnetcdf/parallel-netcdf-0.9.0/src
>>>>
>>>>cd lib && make
>>>>gcc -c -O -I. -DNDEBUG mpinetcdf.c
>>>>gcc -c -O -I. -DNDEBUG header.c
>>>>gcc -c -O -I. -DNDEBUG mpincio.c
>>>>gcc -c -O -I. -DNDEBUG attr.c
>>>>gcc -c -O -I. -DNDEBUG dim.c
>>>>gcc -c -O -I. -DNDEBUG error.c
>>>>gcc -c -O -I. -DNDEBUG nc.c
>>>>gcc -c -O -I. -DNDEBUG ncx.c
>>>>gcc -c -O -I. -DNDEBUG string.c
>>>>gcc -c -O -I. -DNDEBUG var.c
>>>>ar cru libpnetcdf.a mpinetcdf.o header.o mpincio.o attr.o dim.o error.o nc
>>>>.o ncx.o string.o var.o
>>>>ranlib libpnetcdf.a
>>>>m4 -B10000 -DAPI=C ./../../man/netcdf.m4 >pnetcdf.3 || rm pnetcdf.3
>>>>gcc -c -O -I. -DNDEBUG validator.c
>>>>gcc -o ncvalid -O validator.o header.o mpincio.o attr.o dim.o nc.o ncx.o
>>>> string.o var.o
>>>>MPI_Comm_rank
>>>>MPI_File_set_view
>>>>MPI_Error_string
>>>>MPI_File_read_at
>>>>MPI_Finalize
>>>>MPI_Bcast
>>>>MPI_File_delete
>>>>MPI_File_open
>>>>MPI_File_sync
>>>>MPI_Barrier
>>>>MPI_File_close
>>>>MPI_Comm_size
>>>>MPI_Allreduce
>>>>MPI_File_write_at
>>>>collect2: ld returned 1 exit status
>>>>*** Exit 1
>>>>Stop.
>>>>*** Exit 1
>>>>Stop.
>>>>*** Exit 1
>>>>Stop.
>>>>*** Exit 1
>>>>Stop.
>>>>
>>>>--
>>>> +----------------------------------------------------------------------+
>>>> | John R. Tannahill |
>>>> | _/ _/ _/ _/ _/ Lawrence Livermore Nat. Lab |
>>>> | _/ _/ _/_/ _/ _/ P.O. Box 808, M/S L-103 |
>>>> | _/ _/ _/ _/_/ _/ Livermore, CA 94551 |
>>>> | _/_/_/ _/_/_/ _/ _/ _/_/_/ Phone: 925-423-3514 |
>>>> | Fax: 925-423-4908 |
>>>> | Lawrence Livermore National Laboratory Email: jrt at llnl.gov |
>>>> +----------------------------------------------------------------------+
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>--
>> +----------------------------------------------------------------------+
>> | John R. Tannahill |
>> | _/ _/ _/ _/ _/ Lawrence Livermore Nat. Lab |
>> | _/ _/ _/_/ _/ _/ P.O. Box 808, M/S L-103 |
>> | _/ _/ _/ _/_/ _/ Livermore, CA 94551 |
>> | _/_/_/ _/_/_/ _/ _/ _/_/_/ Phone: 925-423-3514 |
>> | Fax: 925-423-4908 |
>> | Lawrence Livermore National Laboratory Email: jrt at llnl.gov |
>> +----------------------------------------------------------------------+
>>
>>
>
>
>
--
+----------------------------------------------------------------------+
| John R. Tannahill |
| _/ _/ _/ _/ _/ Lawrence Livermore Nat. Lab |
| _/ _/ _/_/ _/ _/ P.O. Box 808, M/S L-103 |
| _/ _/ _/ _/_/ _/ Livermore, CA 94551 |
| _/_/_/ _/_/_/ _/ _/ _/_/_/ Phone: 925-423-3514 |
| Fax: 925-423-4908 |
| Lawrence Livermore National Laboratory Email: jrt at llnl.gov |
+----------------------------------------------------------------------+
More information about the parallel-netcdf
mailing list