[petsc-dev] PetscSSLDestroyContext

Mark Adams mfadams at lbl.gov
Tue Feb 17 16:10:05 CST 2015


I am able to make ex61f ....


ftn -openmp -DADIOS -DADIOS_NEW_INIT -DADIOS_READ_V2 -DADIOS_WRITE_NEW
-DADIOS_READ_NEW -DADIOS_TIME -DUSE_BICUB_MOD -DUSE_ONE_D_I_CUB_MOD
-DTRIGRID -DNEWFIELD -DMAXWELL_V_DIST2 -DUSE_LOADING_FACTOR -DV_PERP
-DSOLVERLU -O3 -no-ipo -traceback  -o xgca  -fast -no-ipo    -DPSPLINE
-I/usr/common/usg/pspline/nersc1.0/intel/mod -DCAM_TIMERS -I../camtimers
-I/usr/common/usg/adios/1.6.0/intel/include
-I/usr/common/usg/minixml/2.7/intel/include
-I/global/homes/m/madams/petsc_private//include
-I/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/include
module.o bspline90_22.o taus88.o derf.o datanh.o pppack.o fmin.o
bicub_mod.o search.o psmooth.o pol_decomp.o f0module.o charge.o main.o
read.o gen_perm.o sort_particles.o push.o pushe.o load.o one_d_cub_mod.o
collisionf.o collisionf2.o setup.o efield.o interpolation.o mpi.o
diagnosis.o limiter.o bounce.o diagnosis2.o collision.o collision2.o
elliptics.o diagnosis-f.o heat.o neutral2.o neutral3.o neutral.o
linearsolver.o fem2d.o fem_ops.o poisson.o poisson_extra_common.o
poisson_extra_xgca.o new_petsc_solver.o qevaluateandtrapped.o
-L/usr/common/usg/pspline/nersc1.0/intel/lib -lpspline -lezcdf
-L/usr/common/usg/adios/1.6.0/intel/lib -ladiosf
-L/usr/common/usg/minixml/2.7/intel/lib -lm -lmxml
-L/usr/common/usg/minixml/2.7/intel/lib -L../camtimers -ltimers
-L/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/lib -lpetsc
-lHYPRE -L/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/lib
-lparmetis -lmetis -lsuperlu_dist_3.3 -lparmetis -lmetis
/opt/cray/hdf5-parallel/1.8.13/INTEL/140/lib/libhdf5_parallel.a(H5PL.o): In
function `H5PL_load':
H5PL.c:(.text+0x3b7): warning: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/lib/libpetsc.a(send.o):
In function `PetscOpenSocket':
/global/u2/m/madams/petsc_private/src/sys/classes/viewer/impls/socket/send.c:(.text+0xc8):
warning: Using 'gethostbyname' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
In function `PetscSSLDestroyContext':
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x12):
undefined reference to `SSL_CTX_free'
/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
In function `PetscHTTPSRequest':
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x60):
undefined reference to `SSL_write'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x6e):
undefined reference to `SSL_get_error'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0xcb):
undefined reference to `SSL_read'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0xdb):
undefined reference to `SSL_get_error'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0xef):
undefined reference to `SSL_shutdown'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x20d):
undefined reference to `SSL_free'
/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
In function `PetscHTTPSConnect':
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x1b8e):
undefined reference to `SSL_new'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x1b9b):
undefined reference to `BIO_new_socket'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x1ba9):
undefined reference to `SSL_set_bio'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x1bb1):
undefined reference to `SSL_connect'
/global/homes/m/madams/petsc_private//arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
In function `PetscSSLInitializeContext':
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x24a1):
undefined reference to `SSLv23_method'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x24a9):
undefined reference to `SSL_CTX_new'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x24c0):
undefined reference to `SSL_CTX_ctrl'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x24d0):
undefined reference to `SSL_library_init'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x24d5):
undefined reference to `SSL_load_error_strings'
/global/u2/m/madams/petsc_private/src/sys/webclient/client.c:(.text+0x24e3):
undefined reference to `BIO_new_fp'
/usr/bin/ld: link errors found, deleting executable `xgca'
make: *** [xgca] Error 1
14:00 2 edison02 dev_rhager ~/epsi/XGCa$


On Tue, Feb 17, 2015 at 2:47 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> > On Feb 17, 2015, at 1:39 PM, Mark Adams <mfadams at lbl.gov> wrote:
> >
> > Well, actually it is not fixed.  It does work with --with-ssl=0.  it
> configures and make fine but I get unresolved externals when I build.
> > Mark
>
>   Please send ALL the output from when it fails when you "build" including
> the complete link line of what it is trying to link.
>
>   Barry
>
> >
> > On Tue, Feb 17, 2015 at 2:15 PM, Mark Adams <mfadams at lbl.gov> wrote:
> > I pulled and it is OK now.
> >
> > On Tue, Feb 17, 2015 at 12:32 PM, Barry Smith <bsmith at mcs.anl.gov>
> wrote:
> >
> >    Please send configure.log and make.log When do you get this error?
> Making the PETSc library? Making the PETSc test? Making application?
> >
> >   Yes you can configure with --with-ssl=0  but please send all the data
> first so we can see what goes wrong.
> >
> >   Barry
> >
> >
> > > On Feb 17, 2015, at 10:59 AM, Mark Adams <mfadams at lbl.gov> wrote:
> > >
> > > I started getting this error on Edison at NERSC.  Should I configure
> with --with-ssl=0​ ?
> > >
> > > Mark
> > >
> > >
> /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(send.o):
> In function `PetscOpenSocket':
> > >
> /global/u2/m/madams/petsc_master/src/sys/classes/viewer/impls/socket/send.c:(.text+0xc8):
> warning: Using 'gethostbyname' in statically linked applications requires
> at runtime the shared libraries from the glibc version used for linking
> > >
> /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
> In function `PetscSSLDestroyContext':
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x12):
> undefined reference to `SSL_CTX_free'
> > >
> /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
> In function `PetscHTTPSRequest':
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x60):
> undefined reference to `SSL_write'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x6e):
> undefined reference to `SSL_get_error'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0xcb):
> undefined reference to `SSL_read'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0xdb):
> undefined reference to `SSL_get_error'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0xef):
> undefined reference to `SSL_shutdown'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x20d):
> undefined reference to `SSL_free'
> > >
> /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
> In function `PetscHTTPSConnect':
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1b8e):
> undefined reference to `SSL_new'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1b9b):
> undefined reference to `BIO_new_socket'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1ba9):
> undefined reference to `SSL_set_bio'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x1bb1):
> undefined reference to `SSL_connect'
> > >
> /global/homes/m/madams/petsc_master/arch-xc30-opt64-intel/lib/libpetsc.a(client.o):
> In function `PetscSSLInitializeContext':
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24a1):
> undefined reference to `SSLv23_method'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24a9):
> undefined reference to `SSL_CTX_new'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24c0):
> undefined reference to `SSL_CTX_ctrl'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24d0):
> undefined reference to `SSL_library_init'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24d5):
> undefined reference to `SSL_load_error_strings'
> > >
> /global/u2/m/madams/petsc_master/src/sys/webclient/client.c:(.text+0x24e3):
> undefined reference to `BIO_new_fp'
> > > /usr/bin/ld: link errors found, deleting executable `xgca'
> > > make: *** [xgca] Error 1
> > >
> >
> >
> >
> > <configure.log>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150217/5ba82044/attachment.html>


More information about the petsc-dev mailing list