We're updating the issue view to help you get more done. 

src/configure issues with tcl, tk, and mpi

Description

There seems to be an issue with the configure script in the current develop branch. I'm trying to install CGNS with cgns tools and hence I'm using the flags:

1 ./configure --prefix=/opt/cgns/CGNS-3.40 --enable-64bit --enable-lfs --enable-shared=all --with-hdf5=/opt/hdf5/hdf5-1.10.2 --with-zlib=/opt/zlib/zlib-1.2.11 --with-szip=/opt/szip/szip-2.1.1 --with-mpi=/opt/openmpi/openmpi-3.0.1/bin/mpicc --enable-cgnstools --with-tcl=/usr/lib64 --with-tk=/usr/lib64

However, I notice that the search path used by the configure script for TCL/TK is '/usr/lib64/unix' and various other paths with 'unix' automatically inserted. Ony my CentOS 7 machine, installing tcl-devel and tk-devel with yum puts tclConfig.sh and tkConfig.sh in the top directory - there is no need for the addtional unix suffix. To get around this, I removed any "/unix" or "unix/" additions to any paths in 'configure'. I don't know if this will work or not as a solution.

Also, the --with-mpi flag seems to be broken, resulting in:

1 configure: WARNING: unrecognized options: --with-mpi

Apologies if I got the post format incorrect. Thanks,
Tim

Environment

CentOS 7, package management with yum

Status

Assignee

cgns

Reporter

Tim Jim

Labels

None

Components

Fix versions

Affects versions

3.x.x

Priority

Minor