Maik
Am 15.08.19 um 16:05 schrieb Pablo Escobar Lopez:
you could also use the Tarball easyblock + postinstallcmds . e.g. https://gist.github.com/pescobar/5412f1fd889563f3600741a861047d3aOn Thu, Aug 15, 2019 at 3:26 PM Maik Schmidt <[email protected] <mailto:[email protected]>> wrote:Hi all, short question: which easyblock is best used for the case: - unpack to installdir first - run a command afterwards ? I have tried the following: easyblock = "PackedBinary" install_cmd = "..." However, as soon as "install_cmd" is defined, the files are not copied to the installdir automatically anymore. Of course, I could add a "cp" to my install_cmd or use the CmdCp easyblock, but that feels a little clumsy. Maybe a paramter could be added to PackedBinary to simple execute a command after the unpacking? That would be helpful in a few cases, I believe. Thanks, Maik-- Maik SchmidtHPC Services Technische Universität Dresden Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH) Andreas-Pfitzmann-Bau E049 D-01187 Dresden Telefon: +49 351 463-32836 -- Pablo Escobar López Linux/HPC systems engineer sciCORE, University of Basel SIB Swiss Institute of Bioinformatics
-- Maik Schmidt HPC Services Technische Universität Dresden Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH) Andreas-Pfitzmann-Bau E049 D-01187 Dresden Telefon: +49 351 463-32836
smime.p7s
Description: S/MIME Cryptographic Signature

