[gmx-developers] How to compile for SCALASCA?

Christoph Junghans junghans at mpip-mainz.mpg.de
Thu Mar 3 13:44:26 CET 2011


Hi Fabio,

I would try to create a script call scalasca_cc with the following content:
#! /bin/sh
skin xlc_r "$@"

and make CC=scalasca_cc

Cheers,

Christoph

Am 03/03/2011 12:46 PM, schrieb Mark Abraham:
>
>
> On 03/03/11, Fabio Affinito<f.affinito at cineca.it>  wrote:
>> Hi all,
>> I'm trying to compile gromacs 4.5.3 in order to profile with scalasca. I
>> tried to modify the environment variables, i.e. CC="skin xlc_r" and so
>> on, but in this way the configure fails.
>> Do you have any hint to suggest me?
>>
>
> I'd expect a compiler command that did not have a space in it would be an option that was much more likely to work. Consult the SCALASCA docs for how it should be invoked. This can't be a novel problem. In extremis, you may need to make a shell script that can be invoked as a command with one space, which calls the compiler they way it needs to be called.
>
> Otherwise, you'll have to look in configure.log and find out what actually broke. "configure fails" is not a useful diagnostic.
>
> Mark
>
>
>> Thanks in advance,
>>
>> Fabio
>>
>> --
>> *********************************************
>> Fabio Affinito, PhD
>> CINECA
>> SuperComputing Applications and Innovation Department - SCAI
>> Via Magnanelli, 6/3
>> 40033 Casalecchio di Reno (Bologna) ITALY
>> +39/051/6171794 (Phone)
>> --
>> gmx-developers mailing list
>> gmx-developers at gromacs.org
>> http://lists.gromacs.org/mailman/listinfo/gmx-developers
>> Please don't post (un)subscribe requests to the list. Use the
>> www interface or send it to gmx-developers-request at gromacs.org.
>>
>>
>

-- 
Dr. Christoph Junghans
Max Planck Institute for Polymer Research
Theory Group
POBox 3148
D 55021 Mainz, Germany

Phone: +49 6131 379 335
Web: http://www.mpip-mainz.mpg.de/~junghans




More information about the gromacs.org_gmx-developers mailing list