From: David <dst...@cn...> - 2020-10-29 15:22:16
|
Hi, other option is to set these directly in the xmipp.conf file (located in your xmipp install folder, typically 'xmipp-bundle'), and then recompile xmipp (typically 'scipion3 run path_to_xmipp_script_in_xmipp-bundle'). The problem is gonna be our default optimization flags (-mtune=native -march=native). It should be enough to remove them. KR, David S. On 29/10/20 16:11, Carlos Oscar Sorzano wrote: > > Dear Wolfgang, > > in the compilation of Xmipp, you can set the environment variable > CXXFLAGS before calling the xmipp script. From the Scipion > installation I am not sure how to pass it to the xmipp script. It may > be that setting it in the shell before calling scipion suffices. But I > have never tried. > > Kind regards, Carlos Oscar > > El 29/10/2020 a las 11:13, Pablo Conesa escribió: >> >> ? >> >> >> >> -------- Forwarded Message -------- >> Subject: [scipion-users] scipion-installer - how do i change >> compiler optimization flags? >> Date: Wed, 28 Oct 2020 14:19:29 +0100 (CET) >> From: Lugmayr, Wolfgang <w.l...@uk...> >> Reply-To: Mailing list for Scipion users >> <sci...@li...> >> To: Mailing list for Scipion users >> <sci...@li...> >> >> >> >> hi, >> >> i installed and compiled scipion 3.0.5-devel on a system with intel cpus. >> >> when i run now scipion on new nodes with "AMD EPYC 7402" processors >> the executable fails with: >> $ scipion3 last Scipion v3.0.5 () devel >> sh: line 1: 45875 Illegal instruction python -m scipion last >> >> so i do not want to have 2 versions of scipion3 but maybe compile it >> with intel and amd compatibility flags. >> how do i set these flags? >> >> cheers, >> wolfgang >> >> -- >> Universitätsklinikum Hamburg-Eppendorf (UKE) >> @ Centre for Structral Systems Biology (CSSB) >> @ Deutsches Elektronen-Synchrotron (DESY) >> Notkestrasse 85 Gebäude 15 >> 22607 Hamburg, Germany >> Tel.: +49 40 8998-87652 >> Email:wol...@cs... >> http://www.cssb-hamburg.de/ >> >> >> _______________________________________________ >> scipion-users mailing list >> sci...@li... >> https://lists.sourceforge.net/lists/listinfo/scipion-users |