Skip to content

Having trouble installing - compiler issue #49

@Dewan-cpu

Description

@Dewan-cpu

Hello Dev Team,

I am having an issue with installation, it appears to be an issue with the Fortran compiler (please see below). I am running Umbunto 22.04.3 lts Jammy Jellyfish. I used the easy installation script. I tried FCFLAGS and FFLAG from a similar issue but with a different program ex. (not entirely sure if I entered these correctly; https://forum.mmm.ucar.edu/threads/how-to-fix-rank-mismatch-between-actual-argument-at-1-and-actual-argument-at-2-scalar-and-rank-1.14995/); Thank you for your help.:

export fallow_argument=-fallow-argument-mismatch
export boz_argument=-fallow-invalid-boz
export FFLAGS="$fallow_argument $boz_argument -m64"
export FCFLAGS="$fallow_argument $boz_argument -m64"

./easy_install_bbp_22.4.0.sh

====== Welcome to Broadband Platform 22.4.0 installation script ======

Using destination directory: /home/dewan/Desktop/bbp

==> Creating directory tree...

====== Setting up FFTW 3.3.8 library,... it takes a minute..... ======

===> Downloading...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4013k 0 4013k 0 0 1244k 0 --:--:-- 0:00:03 --:--:-- 1244k
===> Uncompressing file...
===> Checking md5sum...
===> Building single-precision library...
===> Building double-precision library...
===> Cleaning up...
==> FFTW Built successfully!

====== Setting up Broadband Platform 22.4.0 Source Distribution ======

==> Compiling... (it may take a few minutes)

****** ERROR: BBP build failed, for more details please check:
****** ERROR: /home/dewan/Desktop/bbp/bbp-22.4.0/bbp/src/bbp-build.log

LOG FILE-
gfortran -O3 -c -o GOF_MO.o GOF_MO.f
GOF_MO.f:526:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
526 | call GOF(PGAxR, PGAxS, 1, 1, 1, PGAfitX)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:527:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
527 | call GOF(PGAyR, PGAyS, 1, 1, 1, PGAfitY)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:528:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
528 | call GOF(PGAzR, PGAzS, 1, 1, 1, PGAfitZ)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:531:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
531 | call GOF(PGVxR, PGVxS, 1, 1, 1, PGVfitX)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:532:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
532 | call GOF(PGVyR, PGVyS, 1, 1, 1, PGVfitY)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:533:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
533 | call GOF(PGVzR, PGVzS, 1, 1, 1, PGVfitZ)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:536:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
536 | call GOF(PGDxR, PGDxS, 1, 1, 1, PGDfitX)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:537:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
537 | call GOF(PGDyR, PGDyS, 1, 1, 1, PGDfitY)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:538:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
538 | call GOF(PGDzR, PGDzS, 1, 1, 1, PGDfitZ)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:574:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
574 | call GOF(MAXVAL(SRSX), MAXVAL(SRRX), 1, 1, 1, PSAfitX)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:575:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
575 | call GOF(MAXVAL(SRSY), MAXVAL(SRRY), 1, 1, 1, PSAfitY)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:576:17:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
576 | call GOF(MAXVAL(VSRR), MAXVAL(VSRS), 1, 1, 1, PSAfitZ)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:643:15:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
643 | call GOF(DHR, DHS, 1, 1, 1, DFX)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:660:15:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
660 | call GOF(DHR, DHS, 1, 1, 1, DFY)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
GOF_MO.f:677:15:

512 | call GOF(ABS(ASx), ABS(ARx), nt2, 1, nt2, LSaccX)
| 2
......
677 | call GOF(DHR, DHS, 1, 1, 1, DFZ)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
make[2]: *** [makefile:36: GOF_MO.o] Error 1
make[2]: Leaving directory '/home/dewan/Desktop/bbp/bbp-22.4.0/bbp/src/sdsu/MOGof'
make[1]: *** [makefile:5: all] Error 2
make[1]: Leaving directory '/home/dewan/Desktop/bbp/bbp-22.4.0/bbp/src/sdsu'
make: *** [makefile:3: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions