Problems compiling Lenstool on HPC

37 views
Skip to first unread message

Jean-Paul Kneib

unread,
Jul 26, 2019, 4:50:40 AM7/26/19
to lens...@googlegroups.com
A question regarding lensing installation on HPC Cluster.

Anybody has an idea?

Thanks in advance!

Begin forwarded message:

From: Roberto Scipioni <R.Sci...@sussex.ac.uk>
Subject: Problems compiling Lenstool
Date: 25 July 2019 at 19:58:24 CEST

Dear Jean,


Hope this email finds you well

Sorry to take some of your time ....

I am trying to install lenstool on our HPC Cluster

(I am a Sys Admin here at University of Sussex Mathematical and Physical Sciences School)

All the dependencies have been installed, however we get a weird error we do not understand


h/astro/cf217/CODE/Finkelstein_lensing_project/_other_stuff/cfitsio-3.47   -o lenstool main.o liblenstool.a ../liblt/liblt.a -lcfitsio -lwcs -lgsl -lgslcblas -lm 
liblenstool.a(o_pixsource.o): In function `testpixel':
o_pixsource.c:(.text+0x7b5): undefined reference to `d_rbf'
collect2: error: ld returned 1 exit status
make[1]: *** [lenstool] Error 1


both o_pixsource and d_rbf compile fine so what could be the cause for the error ?


Many thanks for your help



Roberto

Johan Richard

unread,
Jul 26, 2019, 5:12:47 AM7/26/19
to lens...@googlegroups.com
Hi,

I think we had this error in the past, you should just clean the installation:

make clean
aclocal
autoconf
automake
./configure xxxxx with parameters if needed
make

Johan


--
--
_____________________________________________________________________
LENSTOOL: http://projets.lam.fr/projects/lenstool/wiki
To post to this group, send email to lens...@googlegroups.com
To unsubscribe from this group, send email to lenstool-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/lenstool?
---
You received this message because you are subscribed to the Google Groups "lenstool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lenstool+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lenstool/0C1FE399-0435-4FF2-9CCB-05E4B96CB14D%40gmail.com.

Roberto Scipioni

unread,
Jul 26, 2019, 7:14:50 AM7/26/19
to lens...@googlegroups.com
Thanks,


Can you explain to me why without using

aclocal
autoconf
automake

gives an error ?

R.



From: lens...@googlegroups.com [lens...@googlegroups.com] on behalf of Johan Richard [nova...@gmail.com]
Sent: Friday, July 26, 2019 10:12 AM
To: lens...@googlegroups.com
Subject: Re: [lenstool 253] Problems compiling Lenstool on HPC

Johan Richard

unread,
Jul 26, 2019, 8:05:09 AM7/26/19
to lens...@googlegroups.com
I think this is because the default Makefile.in and Makefile.am do not work with your automake compiler? I am not sure about the details here. 

Did it work in the end?

Johan

Roberto Scipioni

unread,
Jul 26, 2019, 8:16:56 AM7/26/19
to lens...@googlegroups.com
Yes it did thanks :-)
learning new things every day

Regards


Roberto

Sent: Friday, July 26, 2019 1:04 PM
To: lens...@googlegroups.com
Subject: Re: [lenstool 255] Problems compiling Lenstool on HPC

Reply all
Reply to author
Forward
0 new messages