Thanks Pablo, this works fine! 2017-07-25 11:14 GMT+02:00 Pablo Escobar Lopez <pablo.escobarlo...@unibas.ch >:
> I missed that probably you also want > > preconfigopts = 'export SCRIPTDIR=%(installdir)s && ' > > 2017-07-25 11:13 GMT+02:00 Pablo Escobar Lopez < > pablo.escobarlo...@unibas.ch>: > >> Hi Yann, >> >> Try doing this: >> >> prebuildopts = 'export SCRIPTDIR=%(installdir)s && ' >> >> preinstallopts = 'export SCRIPTDIR=%(installdir)s && ' >> >> Pablo. >> >> 2017-07-25 10:38 GMT+02:00 Yann Sagon <yann.sa...@unige.ch>: >> >>> Dear users, >>> >>> I'm trying to create an easyconfig file for fall3d. >>> >>> The first problem with this software is that during the configure step >>> (./configure) it relies on an env variable $SCRIPTDIR to define where the >>> scripts are to be copied (it doesn't use --prefix for this). >>> >>> The second problem is that this same variable is used as well by the >>> install step (make install) to generate dynamically the scripts. >>> >>> I have tried to set this variable like this: >>> >>> SCRIPTDIR='%(installdir)s' >>> >>> but it seems it's not correctly defined (at least at this moment) as >>> it's using the build dir instead. Or it's not the correct way to set an env >>> variable with EB? >>> >>> Any clue? >>> >>> >>> -- >>> Yann SAGON >>> Ingénieur système HPC >>> 24 Rue du Général-Dufour >>> 1211 Genève 4 - Suisse >>> Tél. : +41 (0)22 379 7737 <+41%2022%20379%2077%2037> >>> yann.sa...@unige.ch - www.unige.ch >>> >> >> >> >> -- >> Pablo Escobar López >> HPC systems engineer >> sciCORE, University of Basel >> SIB Swiss Institute of Bioinformatics >> http://scicore.unibas.ch >> > > > > -- > Pablo Escobar López > HPC systems engineer > sciCORE, University of Basel > SIB Swiss Institute of Bioinformatics > http://scicore.unibas.ch > -- Yann SAGON Ingénieur système HPC 24 Rue du Général-Dufour 1211 Genève 4 - Suisse Tél. : +41 (0)22 379 7737 yann.sa...@unige.ch - www.unige.ch