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

Pavan Balaji balaji at mcs.anl.gov
Mon Jul 9 19:45:53 CDT 2012


Thanks.  Fixed in r9998.

  -- Pavan

On 06/14/2012 08:43 PM, Yauheni Zelenko wrote:
> Hi!
>
> I tried to compile 1.5b1  with --disable-romio and there is error in src/pm/hydra/utils/sock/sock.c:
>
> "./utils/sock/sock.c", line 546: undefined symbol: remote_access
>
> remote_access is defined under HAVE_GETIFADDRS condition, but used under HAVE_INET_NTOP.
>
> Issue with cpi eems gone in r9948.
>
> Eugene.
> ________________________________________
> From: mpich-discuss-bounces at mcs.anl.gov [mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dave Goodell [goodell at mcs.anl.gov]
> Sent: Thursday, June 14, 2012 8:33 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] Some Solaris 10 build problems with 1.4.1p1 and    1.5b1
>
> We are tracking various solaris problems in this ticket:
>
> http://trac.mcs.anl.gov/projects/mpich2/ticket/1639
>
> I'm not sure what's wrong with either build, frankly.  The 1.4.1p1 problems are slightly more surprising.  I don't have convenient access to a solaris machine in the near term to fix these problems.  I'll add your 1.5b1 error messages to the ticket so we don't lose them.
>
> -Dave
>
> On Jun 13, 2012, at 8:38 PM CDT, Yauheni Zelenko wrote:
>
>> 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
>   mp
>> i-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/a
 d
>   _
>> 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/comm
 o
>   n
>> /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/co
 m
>   m
>> on/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.
>> _______________________________________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji




More information about the mpich-discuss mailing list