[mpich-discuss] Some Solaris 10 build problems with 1.4.1p1 and 1.5b1

Yauheni Zelenko zelenko at cadence.com
Wed Jun 13 20:38:54 CDT 2012


Hi!

I tried to build 1.4.1p1 and 1.5b1 on Solaris 10 with Sun Studio 12 compilers and I got next problems:

1.4.1p1

Test for gives false positive: As results:

cc: Warning: illegal option -fvisibility=hidden

cpi could not be compiled:

( cd examples && make )
  CC              cpi.c
../bin/mpicc   -o cpi cpi.o  -lm
ld: fatal: library -lopa: not found
ld: fatal: library -lmpl: not found
ld: fatal: File processing errors. No output written to cpi

1.5b1:

Making all in src/mpi/romio

....

  CCLD   libromio.la
ar: cannot open .libs/libromio.a
        No such file or directory
ar: .libs/libromio.a not found
*** Error code 1
The following command caused the error:
echo "  CCLD  " libromio.la;/bin/bash ./libtool --silent --tag=CC    --mode=link /grid/common/pkgs/forte/v12.0p2/SUNWspro/bin/cc  -m64 -KPIC    -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_ROMIOCONF_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64    -o libromio.la   mpi-io/close.lo mpi-io/delete.lo  mpi-io/file_c2f.lo mpi-io/file_f2c.lo mpi-io/fsync.lo  mpi-io/get_amode.lo mpi-io/get_atom.lo mpi-io/get_bytoff.lo  mpi-io/get_extent.lo mpi-io/get_group.lo mpi-io/get_info.lo  mpi-io/get_posn.lo mpi-io/get_posn_sh.lo mpi-io/get_size.lo  mpi-io/get_view.lo mpi-io/iread.lo mpi-io/iread_at.lo  mpi-io/iread_sh.lo mpi-io/iwrite.lo mpi-io/iwrite_at.lo  mpi-io/iwrite_sh.lo mpi-io/open.lo mpi-io/prealloc.lo  mpi-io/rd_atallb.lo mpi-io/rd_atalle.lo mpi-io/read.lo  mpi-io/read_all.lo mpi-io/read_allb.lo mpi-io/read_alle.lo  mpi-io/read_at.lo mpi-io/read_atall.lo mpi-io/read_ord.lo  mpi-io/read_ordb.lo mpi-io/read_orde.lo mpi-io/read_sh.lo  mpi-io/register_datarep.lo mpi-io/seek.lo mpi-io/seek_sh.lo  mpi-io/set_atom.lo mpi-io/set_info.lo mpi-io/set_size.lo  mpi-io/set_view.lo mpi-io/wr_atallb.lo mpi-io/wr_atalle.lo  mpi-io/write.lo mpi-io/write_all.lo mpi-io/write_allb.lo  mpi-io/write_alle.lo mpi-io/write_at.lo mpi-io/write_atall.lo  mpi-io/write_ord.lo mpi-io/write_ordb.lo mpi-io/write_orde.lo  mpi-io/write_sh.lo    mpi-io/glue/mpich2/mpio_file.lo  mpi-io/glue/mpich2/mpio_err.lo  mpi-io/mpich2_fileutil.lo mpi-io/mpir-mpioinit.lo  mpi-io/mpiu_greq.lo          adio/ad_nfs/ad_nfs_read.lo  adio/ad_nfs/ad_nfs_open.lo  adio/ad_nfs/ad_nfs_write.lo  adio/ad_nfs/ad_nfs_done.lo  adio/ad_nfs/ad_nfs_fcntl.lo  adio/ad_nfs/ad_nfs_iread.lo  adio/ad_nfs/ad_nfs_iwrite.lo  adio/ad_nfs/ad_nfs_wait.lo  adio/ad_nfs/ad_nfs_setsh.lo  adio/ad_nfs/ad_nfs_getsh.lo  adio/ad_nfs/ad_nfs.lo  adio/ad_nfs/ad_nfs_resize.lo  adio/ad_nfs/ad_nfs_features.lo          adio/ad_testfs/ad_testfs_close.lo  adio/ad_testfs/ad_testfs_read.lo  adio/ad_testfs/ad_testfs_rdcoll.lo  adio/ad_testfs/ad_testfs_wrcoll.lo  adio/ad_testfs/ad_testfs_open.lo  adio/ad_testfs/ad_testfs_write.lo  adio/ad_testfs/ad_testfs_done.lo  adio/ad_testfs/ad_testfs_fcntl.lo  adio/ad_testfs/ad_testfs_iread.lo  adio/ad_testfs/ad_testfs_iwrite.lo  adio/ad_testfs/ad_testfs_wait.lo  adio/ad_testfs/ad_testfs_flush.lo  adio/ad_testfs/ad_testfs_seek.lo  adio/ad_testfs/ad_testfs_resize.lo  adio/ad_testfs/ad_testfs_hints.lo  adio/ad_testfs/ad_testfs_delete.lo  adio/ad_testfs/ad_testfs.lo adio/ad_ufs/ad_ufs.lo  adio/ad_ufs/ad_ufs_open.lo    adio/common/ad_aggregate.lo  adio/common/ad_aggregate_new.lo adio/common/ad_close.lo  adio/common/ad_coll_build_req_new.lo  adio/common/ad_coll_exch_new.lo adio/common/ad_darray.lo  adio/common/ad_delete.lo adio/common/ad_done.lo  adio/common/ad_done_fake.lo adio/common/ad_end.lo  adio/common/ad_fcntl.lo adio/common/ad_features.lo  adio/common/ad_flush.lo adio/common/ad_fstype.lo  adio/common/ad_get_sh_fp.lo adio/common/ad_hints.lo  adio/common/ad_init.lo adio/common/ad_io_coll.lo  adio/common/ad_iopen.lo adio/common/ad_iread.lo  adio/common/ad_iread_fake.lo adio/common/ad_iwrite.lo  adio/common/ad_iwrite_fake.lo adio/common/ad_open.lo  adio/common/ad_opencoll.lo adio/common/ad_opencoll_failsafe.lo  adio/common/ad_opencoll_scalable.lo adio/common/ad_prealloc.lo  adio/common/ad_read.lo adio/common/ad_read_coll.lo  adio/common/ad_read_str.lo adio/common/ad_read_str_naive.lo  adio/common/ad_resize.lo adio/common/ad_seek.lo  adio/common/ad_set_sh_fp.lo adio/common/ad_set_view.lo  adio/common/ad_subarray.lo adio/common/ad_wait.lo  adio/common/ad_wait_fake.lo adio/common/ad_write.lo  adio/common/ad_write_coll.lo adio/common/ad_write_nolock.lo  adio/common/ad_write_str.lo adio/common/ad_write_str_naive.lo  adio/common/adi_close.lo adio/common/byte_offset.lo  adio/common/cb_config_list.lo adio/common/eof_offset.lo  adio/common/error.lo adio/common/flatten.lo  adio/common/get_fp_posn.lo adio/common/greq_fns.lo  adio/common/heap-sort.lo adio/common/iscontig.lo  adio/common/lock.lo adio/common/malloc.lo  adio/common/shfp_fname.lo adio/common/status_setb.lo  adio/common/strfns.lo adio/common/system_hints.lo   -lrt -lnsl -lsocket -lpthread
make: Fatal error: Command failed for target `libromio.la'

Configure options in both cases:

        --with-pm=hydra --with-device=ch3:nemesis                               \
        --disable-chekpointing                                                  \
        --disable-f77 --disable-fc                                              \
        --enable-fast=O4                                                        \
        CC=/grid/common/pkgs/forte/v12.0p2/SUNWspro/bin/cc CFLAGS="-m64"        \
        CXX=/grid/common/pkgs/forte/v12.0p2/SUNWspro/bin/CC CXXFLAGS="-m64"

Eugene.


More information about the mpich-discuss mailing list