Opened 8 years ago

Last modified 5 years ago

#1045 new bug

mpicc -compile-info/-link-info

Reported by: balaji Owned by:
Priority: major Milestone: future
Component: mpich Keywords:


mpicc -compile-info and -link-info don't work correctly -- they just show all flags.

Change History (7)

comment:1 Changed 8 years ago by gropp

In what way do they not work correctly? That's what they are supposed to do (perhaps the documentation needs to make that clearer - this isn't a subset of a verbose mode; it is used to get the flags for people who want to call the base compiler themselves).

comment:2 Changed 8 years ago by goodell

I suspect Pavan expects them to act like the --cflags and --libs options to pkg-config.

Bill, you are saying that these were always just supposed to be aliases for -show?

comment:3 Changed 8 years ago by balaji

Yes. It seems weird to have -compile-info show link flags. I'm not certain about -link-info, but it'll be good if it only shows the LDFLAGS and LIBS. The -show option will show all flags anyway.

comment:4 Changed 8 years ago by gropp

Yes, its roughly the same as show. Have a look at the MPICH1 scripts - the -compile-info would only do the compile, not link step. Note that these are way, way older than pkg-config, and are included for backward compatibility with the users that originally requested them. Changing them would be a very bad idea; adding an alternative way to access the data needed to compile/link would be a nice enhancement.

comment:5 Changed 8 years ago by balaji

  • Milestone changed from mpich2-1.3 to mpich2-1.3.1

comment:6 Changed 8 years ago by balaji

  • Milestone changed from mpich2-1.3.2 to future

Moving this to future, as it's not requested by anyone in particular.

comment:7 Changed 5 years ago by balaji

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