[Developers] torwards linux shared object

Mirko Scholz Mirko.Scholz at mpibpc.mpg.de
Tue Apr 9 00:37:16 PDT 2013


Hello,

while I was trying to get shared objects on Linux, i.e.  ad, admod, adt and
df1b2 as so, following issues surfaced (here against the admb-11 source).  I
haven't checked whether they are fixed in the SVN but they are also in 10.1.

+ diff df1b2-separable/f1b2v10.cpp df1b2-separable/f1b2vc10.cpp
f1b2vc10.cpp contains nothing more than f1b2v10.cpp and should
be removed

+ diff linad99/cnorlogmix.cpp linad99/normmix2.cpp
cnorlogmix.cpp contains some definitions of normmix2.cpp.  Most
are static except 
   inv_cumd_normal_logistic_mixture(prevariable const&, double)
which should be removed

+ the definition for operator/(double, d3_array const&) is missing,
but referenced in d4arr2.cpp  Fix admb-11-1.patch

+ the definition of 
   incbet(df3_three_variable const&, df3_three_variable const&, double const&)
seems missing.  The call is made in df1b2-separable/df1b2invcumdbeta_incbet.cpp
I do not properly understand that issue to fix it short of excluding
this file and dfinvcumdt, df1b2betdev, tdev from linking.

+ some functions are not properly guarded with USE_ADPVM.  Excluding the following
files from linking when no PVM is used works
   df1b2-separable/df1b2lp4.cpp
   df1b2-separable/df1b2lp5.cpp
   linad99/adcomm1.cpp
   linad99/adpvm2.cpp
   nh99/paralle2.cpp
   nh99/para3.cpp
   nh99/paral3re.cpp
   nh99/paral5re.cpp

Regards 

Mirko


More information about the Developers mailing list