Skip to content

Multi-image (parallel) execution using OpenCoarrays crashes. #129

@Dominick99

Description

@Dominick99

Steps to reproduce error:

1.) Checkout main and do a git pull: git checkout main

2.) `Run set up script: ./setup.sh

3.) Run command for parallel execution: ./build/run-fpm.sh run --compiler caf --runner "cafrun -n 1"

dominick@dominick-VirtualBox:~/matcha$ ./setup.sh

Setting FC=/home/linuxbrew/.linuxbrew/bin/gfortran-12

Setting CC=/home/linuxbrew/.linuxbrew/bin/gcc-12

Setting CXX=/home/linuxbrew/.linuxbrew/bin/g++-12

PREFIX=/home/dominick/.local

PKG_CONFIG_PATH=/home/dominick/.local/lib/pkgconfig

Project is up to date



________________ Caffeine has been dispensed! ________________



To rebuild or to run tests or examples via the Fortran Package

Manager (fpm) with the required compiler/linker flags, pass a

fpm command to the build/run-fpm.sh script. For example, run

the program example/hello.f90 as follows:



./build/run-fpm.sh run --example hello

/home/dominick/matcha

PKG_CONFIG_PATH=/home/dominick/.local/lib/pkgconfig



________________ Matcha has been poured! ________________



To rebuild or to run tests or examples via the Fortran Package

Manager (fpm) with the required compiler/linker flags, pass a

fpm command to the build/run-fpm.sh script. For example, to

run the Matcha test suite in a single image execute the

following command in a Linux or macOS shell:



./build/run-fpm.sh test --flag -fcoarray=single



For parallel execution instructions, please see the README.md file.

./build/run-fpm.sh run --compiler caf --runner "cafrun -n 1"

input_m.f90                            compiling...

[  0%] Compiling...Fortran runtime error: EXECUTE_COMMAND_LINE: Invalid command line



Error termination. Backtrace:

#0  0x7fb0b9e259f2 in ???

#1  0x7fb0b9e264e9 in ???

#2  0x7fb0b9e2694c in ???

#3  0x7fb0ba088723 in ???

#4  0x7fb0ba088891 in ???

#5  0x55ab65268eaf in __fpm_filesystem_MOD_run

	at ./src/fpm_filesystem.F90:910

#6  0x55ab65263319 in __fpm_compiler_MOD_compile_fortran

	at ./src/fpm_compiler.f90:888

#7  0x55ab6524eac0 in build_target

	at ./src/fpm_backend.F90:321

#8  0x55ab6524eac0 in __fpm_backend_MOD_build_package

	at ./src/fpm_backend.F90:128

#9  0x55ab652488f0 in __fpm_MOD_cmd_run

	at ./src/fpm.f90:451

#10  0x55ab65241ebc in MAIN__

	at app/main.f90:74

#11  0x55ab6524143e in main

	at app/main.f90:11

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