close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

#1496 closed defect (fixed)

NonLinGloOpt no converge en linux (test_0001)

Reported by: Jorge Owned by: Jorge
Priority: high Milestone: TOL Packages
Component: Various Version: 3.1
Severity: critical Keywords:
Cc:

Description

Se ha observado que el test_0001 de NonLinGloOpt converge en Windows y en Linux no. El test puede verse en: NLOPT Test01

Change History (1)

comment:1 Changed 13 years ago by Jorge

Resolution: fixed
Status: newclosed

(In [4476]) fixes #1496, nlopt debe configurarse con -O3 -finline-functions -fPIC

CFLAGS='-O3 -finline-functions -fPIC' CXXFLAGS='-O3 -finline-functions -fPIC' ./configure

de no usarse -fPIC se puede manifestar este error en la carga de la .so

<E>
ERROR: [1] [LoadDynLib("/opt/tol-devel/tolp/OfficialTolArchiveNetwork/NonLinGloOpt/CppTools/Linux_x86_32/NonLinGloOpt.so")] 
  lt_dlopen error:'/opt/tol-devel/tolp/OfficialTolArchiveNetwork/NonLinGloOpt/CppTools/Linux_x86_32/NonLinGloOpt.so: cannot allocate memory in static TLS block'</E>
Note: See TracTickets for help on using tickets.