-
Notifications
You must be signed in to change notification settings - Fork 75
Description
there is error after "make"(/home/node3/scalapack-2.2.0)
gfortran -c -O3 bslaapp.f
gfortran -c -O3 bslaexc.f
gfortran -c -O3 bstrexc.f
gfortran -c -O3 pstrord.f
pstrord.f:525:51:
490 | $ CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, MMAX, 1, -1,
| 2
......
525 | CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, INFO, 1, -1, -1,
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
pstrord.f:1582:51:
490 | $ CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, MMAX, 1, -1,
| 2
......
1582 | CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, IERR, 1, -1,
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
pstrord.f:1593:54:
490 | $ CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, MMAX, 1, -1,
| 2
......
1593 | CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, INFO, 1, -1,
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
pstrord.f:3253:51:
490 | $ CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, MMAX, 1, -1,
| 2
......
3253 | CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, IERR, 1, -1,
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
pstrord.f:3264:54:
490 | $ CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, MMAX, 1, -1,
| 2
......
3264 | CALL IGAMX2D( ICTXT, 'All', TOP, 1, 1, INFO, 1, -1,
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
make[1]: *** [Makefile:226: pstrord.o] Error 1
make[1]: Leaving directory '/home/node3/scalapack-2.2.0/SRC'
make: *** [Makefile:68: scalapacklib] Error 2
environment:
(base) node3@node3:/scalapack-2.2.0$ which mpiexec/scalapack-2.2.0$ which mpifort
/opt/intel/oneapi/mpi/2021.14/bin/mpiexec
(base) node3@node3:
/usr/local/bin/mpifort
(base) node3@node3:/scalapack-2.2.0$ gfortran --version22.04) 11.4.0
GNU Fortran (Ubuntu 11.4.0-1ubuntu1
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(base) node3@node3:~/scalapack-2.2.0$ more SLmake.inc
CDEFS = -DAdd_
FC = gfortran
CC = mpicc
NOOPT = -O0
FCFLAGS = -O3
CCFLAGS = -O3
FCLOADER = $(FC)
CCLOADER = $(CC)
FCLOADFLAGS = $(FCFLAGS)
CCLOADFLAGS = $(CCFLAGS)
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
SCALAPACKLIB = libscalapack.a
BLASLIB = /usr/local/lib/librefblas.a
LAPACKLIB = /usr/local/lib/liblapack.a
LIBS =
==========
all compile in gfortran