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

QMP configuration program qmp-config not found #4

Open
dklyuchinskiy opened this issue Nov 20, 2019 · 5 comments
Open

QMP configuration program qmp-config not found #4

dklyuchinskiy opened this issue Nov 20, 2019 · 5 comments

Comments

@dklyuchinskiy
Copy link

dklyuchinskiy commented Nov 20, 2019

Hello!

I am trying to build QIO on Linux but the following problem has been encountered:
//----------------------
checking for qmp-config... no
configure: WARNING: QMP configuration program qmp-config not found.
configure: WARNING: Set environment variables QMP_CFLAGS QMP_LDFAGS QMP_LIBS
before configure
//-----------------------
But, the QMP lib is preinstalled in $HOME/qmp-single
with the following command:
$HOME/qmp-2.5.2/configure --prefix=$HOME/qmp-single --with-qmp-comms-type=SINGLE CC=gcc CFLAGS="-O2 -std=gnu99". The compilation was done successful.

This is how I am trying to configure QIO library (inside $HOME/qio-2.5.0).
./configure --prefix=$HOME/qio-2.5.0 --with-qmp=$HOME/qmp-single

Could you please help me with this issue?

@martin-ueding
Copy link

You could try adding $HOME/qmp-single/bin to your PATH environment variable or try to call configure with --with-qmp=$HOME/qmp-single/bin/qmp-config.

@martin-ueding
Copy link

My installation script might not support non-MPI builds, but it might help you in some way.

@dklyuchinskiy
Copy link
Author

Hi Martin!

Thank you for your prompt respond!

I have done both variants, but it is still not working...

$HOME/qmp-single/bin contains qmp-config but script cant find it.
//------------------------------------------------
domain users 3082 Nov 20 16:45 qmp-config
//-------------------------------------------------
Moreover, config.log shows me, that now PATH variable include $HOME/qmp-single/bin.

Dmitriy

@martin-ueding
Copy link

It is peculiar that QIO wants to have QMP, actually, especially for a non-MPI build. But looking at my installation script I realize that I never build QIO on its own, but rather I clone the QDP++ repository with all its git submodules recursively and then build just that. Perhaps that will take of the interdependency of the two packages?

@dklyuchinskiy
Copy link
Author

dklyuchinskiy commented Nov 27, 2019

Martin, thank you for help!

I have resolved the issue.

Actually, 'make install' was doing wrong in my environment and some header files were missed in working directory.

Unfortunately, script still do not see the qmp-config file, and I have set QMP environment variables by hands.

Dmitriy

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