Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: unknown option "-genv" #46

Open
hyoklee opened this issue Feb 9, 2023 · 1 comment
Open

Error: unknown option "-genv" #46

hyoklee opened this issue Feb 9, 2023 · 1 comment

Comments

@hyoklee
Copy link
Member

hyoklee commented Feb 9, 2023

CTest fails with the following error:

Test project /home/runner/work/vol-daos/vol-daos/build
[493](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:494)
      Start  1: h5vl_test
[494](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:495)
 1/10 Test  #1: h5vl_test ........................***Failed    0.01 sec
[495](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:496)
rm -rf /mnt/daos/* /home/runner/work/vol-daos/vol-daos/build/bin/*.h5
[496](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:497)
Test Server
[497](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:498)
This is a serial test
[498](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:499)
The allow server errors in output flag was set to 1
[499](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:500)
Client Helper
[500](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:501)
Client Init
[501](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:502)
H5VLTestDriver: server command is:
[502](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:503)
 "/usr/bin/mpiexec" "-n" "1" "-genv" "DAOS_DISABLE_REQ_FWD" "1" "/usr/local/bin/daos_server" "start" "--recreate-superblocks" "-o" "/home/runner/work/vol-daos/vol-daos/build/test/scripts/daos_server.yml"
[503](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:504)
H5VLTestDriver: client_helper command is:
[504](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:505)
 "env" "D_LOG_FILE=/home/runner/work/vol-daos/vol-daos/build/test/daos_client.log" "D_LOG_MASK=ERR" "CRT_PHY_ADDR_STR=ofi+sockets" "OFI_INTERFACE=lo" "DAOS_AGENT_DRPC_DIR=/home/runner/work/vol-daos/vol-daos/build/test" "HDF5_PLUGIN_PATH=/home/runner/work/vol-daos/vol-daos/build/bin" "HDF5_VOL_CONNECTOR=daos" "HDF5_DAOS_CHUNK_TARGET_SIZE=1073741824" "/home/runner/work/vol-daos/vol-daos/build/test/scripts/daos_agent.sh"
[505](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:506)
H5VLTestDriver: client_init command is:
[506](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:507)
 "env" "D_LOG_FILE=/home/runner/work/vol-daos/vol-daos/build/test/daos_client.log" "D_LOG_MASK=ERR" "CRT_PHY_ADDR_STR=ofi+sockets" "OFI_INTERFACE=lo" "DAOS_AGENT_DRPC_DIR=/home/runner/work/vol-daos/vol-daos/build/test" "HDF5_PLUGIN_PATH=/home/runner/work/vol-daos/vol-daos/build/bin" "HDF5_VOL_CONNECTOR=daos" "HDF5_DAOS_CHUNK_TARGET_SIZE=1073741824" "/home/runner/work/vol-daos/vol-daos/build/test/scripts/daos_pool.sh"
[507](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:508)
H5VLTestDriver: starting process server
[508](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:509)
-------------- server output --------------
[509](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:510)
/usr/bin/mpiexec: Error: unknown option "-genv"
[510](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:511)
Type '/usr/bin/mpiexec --help' for usage.
[511](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:512)
H5VLTestDriver: server never started.
[512](https://github.com/hyoklee/vol-daos/actions/runs/4137564959/jobs/7152893462#step:8:513)
H5VLTestDriver: Server never started.
@jhendersonHDF
Copy link
Contributor

Testing has mostly been done with MPICH in the past, which accepts the -genv option. An alternate path will be needed for correctly supporting other MPI implementations, such as OpenMPI.

hyoklee added a commit to hyoklee/vol-daos that referenced this issue Feb 9, 2023
OpenMPI will fail test.
See HDFGroup#46 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants