error in compilation with gfortran 5.4.0, -march=native


Click here for full thread
Forum Vet
Quote:Ylniu Dec 9th 5:23 am
Thanks very much for your so quick reply! It is a pity that I can compile successfully with gfortran 4.4.7 with the options "-march=native -mtune=native". But it failed with gfortran 5.4.0. And it is hard to google the detail of such options for me. Now I know that the drawback of the degradation in performance. And thanks again for your kindly reply.


The options "-march=native -mtune=native" are used only for gfortran 4.6 and later

Your failure is due to the fact that the gfortran 5.4.0 requires a more recent version of /usr/bin/as
See related question
http://nwchemgit.github.io/Special_AWCforum/st/id2207