0.9.0 installation

Jianwei Li jianwei at cheetah.cpdc.ece.nwu.edu
Mon Sep 8 14:04:55 CDT 2003


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'

	./configure --prefix=/whatever

	./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'".

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        |
>        +----------------------------------------------------------------------+
>
>




More information about the parallel-netcdf mailing list