Opened 6 years ago

Last modified 5 years ago

#1625 new bug

no Fortran not respected by test build

Reported by: jhammond Owned by:
Priority: minor Milestone: future
Component: mpich Keywords: test, Fortran
Cc:

Description (last modified by balaji)

I configured like this:

  $ ../configure CC=clang CFLAGS=-g -O3 CXX=clang++ CXXFLAGS=-g -O1 --disable-f77 --disable-fc --enable-cxx --enable-g=dbg --with-thread-package=posix --with-pm=hydra --enable-threads --prefix=/software/mpich/mpich2-trunk/install-clang --disable-static --enable-shared --enable-rpath

Note the explicit "no Fortran".

When I run "make" in the test directory, the lack of Fortran causes the build to abort.

make[1]: Entering directory `/software/mpich/mpich2-trunk/build-clang/test/commands'
  CC     stdiotest.o
  CCLD   stdiotest
  CC     stdintest.o
  CCLD   stdintest
  CC     stdintest2.o
  CCLD   stdintest2
  CC     checkenv1.o
  CCLD   checkenv1
  CC     rtest.o
  CCLD   rtest
  PPF77  rtestf.o
/bin/sh: line 1: /software/mpich/mpich2-trunk/install-clang/bin/mpif77: No such file or directory
make[1]: *** [rtestf.o] Error 127
make[1]: Leaving directory `/software/mpich/mpich2-trunk/build-clang/test/commands'
make: *** [all-recursive] Error 1

In a perfect world, MPICH2 would not attempt to use what it should know does not exist. Also, in this perfect word, no children would go hungry.

Change History (5)

comment:1 Changed 6 years ago by goodell

  • Description modified (diff)

comment:2 Changed 6 years ago by goodell

  • Owner set to goodell
  • Status changed from new to accepted

Ignore the test directory and just use the test/mpi directory. We'll fix the test dir at some point, but those other directories have never exactly been robust.

Please update the ticket to let us know if you still have problems with the test/mpi dir.

comment:3 Changed 6 years ago by balaji

  • Milestone set to future

comment:4 Changed 5 years ago by balaji

  • Description modified (diff)
  • Status changed from accepted to new

comment:5 Changed 5 years ago by balaji

  • Owner goodell deleted
Note: See TracTickets for help on using tickets.