Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Issue with synchronized Autotools project

Christoph, all,

>> To (hopefully only temporarily) work around this limitation,
>> I was thinking of specifying something like
>>
>>    module purge && module load intel openmpi && configure
>>
>> as the configure command (likewise for autogen).

First of all, this hack does not work because Eclipse tries to be
smart and starts quoting stuff.

> I am frequently using cmake with PTP. I guess this is a similar situation
> as for configure/autotools.

Well, according to http://wiki.eclipse.org/PTP/new_and_noteworthy/8.0.0
synchronized Autotools projects should be supported.  And in principle
they are, i.e., configure options can be specified and are passed
correctly, autogen.sh and configure are run automatically or can be
triggered via the project context menu, etc.

The issue is that specified environment modules are only loaded before
the *build*.  In my case, I need to use a specific version of Autotools,
loaded via a module, and the configure script tries to identify the
compiler and MPI, both also loaded via modules.  But unfortunately,
the modules are not loaded by PTP before executing the autogen.sh and
configure commands.

>From a user's perspective, this sounds trivial to fix.  But maybe it's
not...

Best,
Markus

--
Dr. Markus Geimer
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone:  +49-2461-61-1773
Fax:    +49-2461-61-6656
E-mail: m.geimer@xxxxxxxxxxxxx
WWW:    http://www.fz-juelich.de/jsc/



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------



Back to the top