[QE-users] Problems running make pw

Aaron Celestian acelestian at nhm.org
Sat Aug 29 00:37:29 CEST 2020


Hello Paolo and Kelsey,

I’m brand new to this list and QE, and I’m having the same problem as Kelsey.  The '-fallow-argument-mismatch' warning is present for me.  I’ve read through most of the archives looking for clues for solving this, but I wasn’t able to find a solution to what I’m doing wrong.  The ‘./configure’ worked without errors/warnings.  I do see that the FFLAGS set in the configure output:
	setting FFLAGS... -O3 -g -fallow-argument-mismatch


This is one line of many from the ‘make pw’ screen output:
	f951: Warning: Nonexistent include directory '/Users/acelesti/QE//FoX/finclude' [-Wmissing-include-dirs]
	mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__FFTW -D__MPI -Duse_beef   -	I/Users/acelesti/QE//include -I/Users/acelesti/QE//FoX/finclude -I/Users/acelesti/QE//S3DE/iotk/include/  -c iotk_write.f90

tried a 'make clean' and redo 'make all', and the problem persists.

I checked my fortran version and I get:

		$ gfortran --version
	GNU Fortran (Homebrew GCC 10.2.0) 10.2.0
	mpirun (Open MPI) 4.0.5


But checking gcc version and I get:
		$ gcc  --version 
	Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
	Apple clang version 11.0.3 (clang-1103.0.32.62)
	Target: x86_64-apple-darwin19.6.0
	Thread model: posix


Any suggestions would be greatly appreciated! 

Aaron
Running MacOS 10.5.6
Trying QE version 6.6




Aaron J. Celestian, Ph.D.
Associate Curator, Mineral Sciences
Natural History Museum of Los Angeles County 
Adj. Associate Professor, USC Earth Sciences
Affiliate Research Scientist, NASA Jet Propulsion Laboratory
Research <https://sites.google.com/nhm.org/aaron-celestian/home>  |  Blog <https://medium.com/@aaron.celestian>  |  Website <https://sites.google.com/nhm.org/aaron-celestian/home>



gcc 10? check for the presence of "-fallow-argument-mismatch" in
compilation flags. "configure" should automatically add it, though.

Paolo

On Fri, Aug 14, 2020 at 12:33 AM Kelsey Levine <
krl52 at cornell.edu
> wrote:

>
 Dear QE Users,

>
>
 I am trying to set up Quantum Espresso 6.5 and have run into a problem

>
 after running make pw. ./configure runs successfully, but make pw returns

>
 the following:

>
 *mp.f90:173:24:*

>
>
   173 |         CALL MPI_GATHER(mydata, 1, MPI_INTEGER, alldata, 1,

>
 MPI_INTEGER, root, group, IERR)

>
       |                        *1*

>
 ......

>
   197 |         CALL MPI_GATHER(mydata, msglen, MPI_INTEGER, alldata,

>
 msglen, MPI_INTEGER, root, group, IERR)

>
       |                        2

>
 *Error:* Rank mismatch between actual argument at *(1)* and actual

>
 argument at (2) (rank-1 and scalar)

>
 make[1]: *** [mp.o] Error 1

>
 make: *** [libutil] Error 1

>
>
 The rank mismatch / type mismatch error displays numerous times before

>
 the compilation actually stops, so I’m not sure if that is actually causing

>
 the error 1 or if it is just a warning. It seems like it might be an issue

>
 with the complier so I tried upgrading gcc to 11.0.3 but to no avail. I am

>
 at a loss for how to solve this issue so any suggestions are appreciated.

>
>
 Thank You

>
 Kelsey

>
 Cornell University

>
 _______________________________________________

>
 Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)

> users mailing list users at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users



-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20200828/63231d7a/attachment.html>


More information about the users mailing list