Skip to content

Defect: build failure of v1.5.2: Error: Actual argument for 'list' at (1) is a function result and the dummy argument is ALLOCATABLE #50

@barracuda156

Description

@barracuda156

The programming language (e.g., all/C/C++/Fortran/Julia/MATLAB/Python/R/...):
Fortran

The compiler/interprerter (e.g., none/GNU/Intel/IBM/NAG/Cray/PGI-NVIDIA/Anaconda/...):
gcc 14.2.0

The operating system (e.g., all/Windows/Linux/macOS/WSL1/WSL2/...):
macOS 10.6.8

The architecture (e.g., all/x86_x64/Intelx64/ARM/POWER9/...):
PowerPC

Describe the bug

[ 20%] Building Fortran object obj/CMakeFiles/paramonte.dir/Decoration_mod@Routines_smod.f90.o
cd /opt/local/var/macports/build/_opt_local_ppcports_math_paramonte/paramonte/work/build/obj && /opt/local/bin/mpif90-mpich-mp -Dparamonte_EXPORTS  -pipe -Os -m32 -mmacosx-version-min=10.6 -J../mod -fPIC -cpp -DGNU_COMPILER_ENABLED -DCFI_ENABLED "-DPARAMONTE_VERSION=\"'1.5.1'\"" -DOS_IS_DARWIN -DC_ENABLED -DBASIC_TEST_ENABLED -DSAMPLER_TEST_ENABLED -DDLL_ENABLED -DMPI_ENABLED -DOMP_ENABLED -fstack-arrays -ffree-line-length-none -std=legacy -pthread -fopt-info-all=GFortranOptReport.txt -fauto-inc-dec -fbranch-count-reg -fcombine-stack-adjustments -fcompare-elim -fcprop-registers -fdce -fdefer-pop -fdse -fforward-propagate -fguess-branch-probability -fif-conversion -fif-conversion2 -finline-functions-called-once -fipa-profile -fipa-pure-const -fipa-reference -fipa-reference-addressable -fmerge-constants -fmove-loop-invariants -fomit-frame-pointer -freorder-blocks -fshrink-wrap -fshrink-wrap-separate -fsplit-wide-types -fssa-backprop -fssa-phiopt -ftree-bit-ccp -ftree-ccp -ftree-ch -ftree-coalesce-vars -ftree-copy-prop -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-forwprop -ftree-fre -ftree-phiprop -ftree-pta -ftree-scev-cprop -ftree-sink -ftree-slsr -ftree-sra -ftree-ter -funit-at-a-time -falign-functions -falign-jumps -falign-labels -falign-loops -fcaller-saves -fcode-hoisting -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks -fdelete-null-pointer-checks -fdevirtualize -fdevirtualize-speculatively -fexpensive-optimizations -fgcse -fgcse-lm -fhoist-adjacent-loads -finline-functions -finline-small-functions -findirect-inlining -fipa-bit-cp -fipa-cp -fipa-icf -fipa-ra -fipa-sra -fipa-vrp -fisolate-erroneous-paths-dereference -flra-remat -foptimize-sibling-calls -foptimize-strlen -fpartial-inlining -fpeephole2 -freorder-blocks-algorithm=stc -freorder-blocks-and-partition -freorder-functions -frerun-cse-after-loop -fschedule-insns -fschedule-insns2 -fsched-interblock -fsched-spec -fstore-merging -fstrict-aliasing -fthread-jumps -ftree-builtin-call-dce -ftree-pre -ftree-switch-conversion -ftree-tail-merge -ftree-vrp -fgcse-after-reload -fipa-cp-clone -floop-interchange -floop-unroll-and-jam -fpeel-loops -fpredictive-commoning -fsplit-paths -ftree-loop-distribute-patterns -ftree-loop-distribution -ftree-loop-vectorize -ftree-partial-pre -ftree-slp-vectorize -funswitch-loops -fvect-cost-model -fversion-loops-for-strides -fopenmp -shared -fPIC -c /opt/local/var/macports/build/_opt_local_ppcports_math_paramonte/paramonte/work/paramonte-1.5.2/src/kernel/Decoration_mod@Routines_smod.f90 -o CMakeFiles/paramonte.dir/Decoration_mod@Routines_smod.f90.o
/opt/local/var/macports/build/_opt_local_ppcports_math_paramonte/paramonte/work/paramonte-1.5.2/src/kernel/Decoration_mod@Routines_smod.f90:121:37:

  121 |             call writeDecoratedList( getListOfLines(text,newLine), symbol, width, thicknessHorz, thicknessVert, marginTop, marginBot, outputUnit )
      |                                     1
Error: Actual argument for 'list' at (1) is a function result and the dummy argument is ALLOCATABLE
make[2]: *** [obj/CMakeFiles/paramonte.dir/Decoration_mod@Routines_smod.f90.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_ppcports_math_paramonte/paramonte/work/build'
make[1]: *** [obj/CMakeFiles/paramonte.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_ppcports_math_paramonte/paramonte/work/build'
make: *** [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