help-gnuastro
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gnuastro] GNU Astro configure error - missing WCSLIB component


From: Mohammad Akhlaghi
Subject: Re: [help-gnuastro] GNU Astro configure error - missing WCSLIB component
Date: Fri, 25 May 2018 20:36:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

No problem, I am happy we are making good progress.

You need to link with the proper CFITSIO library also, similar to WCSLIB, with this configure command:

./configure --prefix=/packages/gnuastro/0.5
LDFLAGS="-L/packages/wcslib/5.18/lib -L/packages/cfitsio/3.410/lib"
CPPFLAGS="-I/packages/wcslib/5.18/include -I/packages/cfitsio/3.410/include"

`fffree' is a function in CFITSIO. Since you now include the CFITSIO headers (with `-I/packages/cfitsio/3.410/include'), it was able to compile the Gnuastro's Arithmetic program (which is the program causing the crash). But when it wanted to link it with the CFITSIO library, it couldn't. The new `-L/packages/cfitsio/3.410/lib' linker option will fix the problem.

By the way, if your HPC system has more than 8 threads, you can use a larger number in `make -jN' (N being any number larger than 1) to speed up the build. In Make, `j' stands for "job", it means the maximum number of jobs to run in parallel at any moment.

Hopefully there shouldn't be any more problems.

Cheers,
Mohammad



reply via email to

[Prev in Thread] Current Thread [Next in Thread]