On Sat, Jul 18, 2020 at 10:50 AM Hongyi Zhao <[email protected]> wrote: > > Hi, > > When compiling the q-e git master version with intel > parallel_studio_xe/2020.1.102, I want to set the OFLAG to xHOST for > obtaining the optimized perfromance according to my CPU architecture. > > For achieving this aim, I tried the following but failed. See the > output for more information: > > $ ./configure --with-scalapack=intel MPIF90=mpiifort OFLAG+=xHOST > configure: error: invalid variable name: `OFLAG+'
Based on the user_guide here: https://github.com/QEF/q-e/blob/master/Doc/user_guide.tex. I finally figure out the following method via revising the compilation flags in the make.inc file as following after running the configure command: CFLAGS = -O3 -xHost ... [...] FFLAGS = -O3 -xHost ... -- Hongyi Zhao <[email protected]> _______________________________________________ Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso) users mailing list [email protected] https://lists.quantum-espresso.org/mailman/listinfo/users
