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

mpi-serial configure.in and autoconf 2.69 #6

Open
rljacob opened this issue Dec 6, 2014 · 3 comments
Open

mpi-serial configure.in and autoconf 2.69 #6

rljacob opened this issue Dec 6, 2014 · 3 comments

Comments

@rljacob
Copy link
Contributor

rljacob commented Dec 6, 2014

After generating a configure from mpi-serial/configure.in with autoconf 2.69, an error occurs:

checking for ranlib... ranlib
configure: error: cannot run /bin/sh ./../config.sub
configure: error: ./configure failed for mpi-serial

autoconf 2.68 works fine.

@rljacob rljacob added the bug label Dec 6, 2014
@rloy
Copy link
Contributor

rloy commented Dec 6, 2014

rob,

it looks like "config.sub" is something in the top-level MCT autoconf setup...
if you're invoking it from the top-level MCT, i didn't yet look into
disconnecting it there...

for autoconf and configure of the new mpi-serial, just
go into the mpi-serial subdir and do it there... autoconf; configure; make

ray

On Dec 5, 2014, at 6:01 PM, Robert Jacob [email protected] wrote:

After generating a configure from mpi-serial/configure.in with autoconf 2.69, an error occurs:

checking for ranlib... ranlib
configure: error: cannot run /bin/sh ./../config.sub
configure: error: ./configure failed for mpi-serial

autoconf 2.68 works fine.


Reply to this email directly or view it on GitHub.

rljacob added a commit that referenced this issue Dec 6, 2014
Generate mpi-serial/configure with autoconf 2.68 because
2.69 gives an error.  See Issue #6
@rljacob
Copy link
Contributor Author

rljacob commented Dec 6, 2014

The only place I have autoconf 2.69 is my mac laptop. That might be the problem but I got the same error.

CSI0350919:mpi-serial jacob$ autoconf -V
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

CSI0350919:mpi-serial jacob$ autoconf configure.in > configure

CSI0350919:mpi-serial jacob$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for ranlib... ranlib
configure: error: cannot run /bin/sh ./../config.sub

@rloy
Copy link
Contributor

rloy commented Dec 6, 2014

this may be the problem:

https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html

On Dec 5, 2014, at 6:31 PM, Robert Jacob [email protected] wrote:

The only place I have autoconf 2.69 is my mac laptop. That might be the problem but I got the same error.

CSI0350919:mpi-serial jacob$ autoconf -V
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

CSI0350919:mpi-serial jacob$ autoconf configure.in > configure

CSI0350919:mpi-serial jacob$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for ranlib... ranlib
configure: error: cannot run /bin/sh ./../config.sub


Reply to this email directly or view it on GitHub.

@rljacob rljacob added the Build label Jun 23, 2015
rljacob added a commit that referenced this issue Sep 27, 2016
Generate mpi-serial/configure with autoconf 2.68 because
2.69 gives an error.  See Issue #6
rljacob added a commit that referenced this issue Apr 25, 2017
Removed tabs from mpif.h and added new constant, MPI_TAG_UB
Added newer interfaces to README
Removed redundant interface, mpi_op_create from collective.c

make; make tests passes
gold2718 pushed a commit to gold2718/MCT that referenced this issue Sep 4, 2017
b1b0bfd Merge pull request MCSclimate#10 from gold2718/add_version
e2804c7 Fixed typo in print statement
1aa326e Added MPI_VERSION, MPI_SUBVERSION, and MPI_Get_Version
99df320 Merge branch `jedwards4b/jpe_add_mpi_type_create_hvector` (PR MCSclimate#2)
6d736e2 Merge branch 'gold2718/cleandoc' (PR MCSclimate#7)
94e39f8 Removed obsolete NOTES file
c696f25 Merge branch gold2718/add_tag_ub (PR MCSclimate#6)
481ffe3 Removed tabs from mpif.h and added new constant, MPI_TAG_UB. Added newer interfaces to README Removed redundant interface, mpi_op_create from collective.c
0a44baa add mpi_type_create_hvector
1ef3693 Merge branch MCSclimate/rljacob/remove-eolwhite (PR MCSclimate#1)
8c02275 Remove all whitespace from end-of-line

git-subtree-dir: mpi-serial
git-subtree-split: b1b0bfd4d4b71abe071abbe6ccf01ece98d93ab0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants