problems installing 0.9.0
Rob Ross
rross at mcs.anl.gov
Wed Sep 3 11:58:20 CDT 2003
Is there any reason why we should require that someone define the CXX
variable? We don't use the C++ compiler for anything, right? The
modified configure.in that I sent to John takes out tests for that, and I
think we should probably commit this unless there's some reason why we
need to have the C++ stuff in place.
Rob
On Wed, 3 Sep 2003, Jianwei Li wrote:
>
> John,
>
> FYI, I passed the configure and compile with:
>
> autoconf
>
> setenv CC xlc
> setenv FC xlf
> setenv F90 xlf90
> setenv CXX xlC
> setenv MPICC mpcc_r
> setenv MPIF77 mpxlf_r
>
> ./configure --prefix=/path/to/installdir
>
> make
> make install
>
>
> Jianwei
>
>
> On Wed, 3 Sep 2003, John Tannahill wrote:
>
> > Robert,
> >
> > When I execute the following script to install 0.9.0 on NERSC's IBM-SP
> > (seaborg) =>
> >
> > #
> >
> > module load gnu
> >
> > setenv CC xlc
> > setenv FC xlf
> >
> > setenv MPICC mpcc_r
> > setenv MPIF77 mpxlf_r
> >
> > ./configure --prefix=/usr/common/homes/j/jrt/tb2/parallel-netcdf-0.9.0 \
> > --with-mpi=/usr/lpp/ppe.poe/bin
> >
> >
> > I get =>
> >
> > loading cache ./config.cache
> > checking for top-level source-directory
> > /u2/jrt/tb2/parallel-netcdf-0.9.0
> > checking for a BSD compatible install... /usr/common/usg/gnu/bin/ginstall -c
> > checking for m4 preprocessor
> > checking for m4... m4
> > checking m4 flags... -B10000
> > checking for gcc... xlc
> > checking whether the C compiler (xlc -O ) works... yes
> > checking whether the C compiler (xlc -O ) is a cross-compiler... no
> > checking whether we are using GNU C... no
> > checking whether xlc accepts -g... yes
> > checking for c++... no
> > checking for g++... no
> > checking for gcc... no
> > checking for CC... no
> > checking for cxx... no
> > checking for cc++... no
> > checking for cl... no
> > checking whether the C++ compiler (gcc ) works... no
> > configure: error: installation or configuration problem: C++ compiler cannot
> > create executables.
> >
> > John
> >
> > --
> > ============================
> > John R. Tannahill
> > Lawrence Livermore Nat. Lab.
> > P.O. Box 808, M/S L-103
> > Livermore, CA 94551
> > 925-423-3514
> > Fax: 925-423-4908
> > ============================
> >
>
>
More information about the parallel-netcdf
mailing list