Re: Question on multiple compiler environment
- From: "Arjen Markus" <arjen.markus@xxxxxxxxxx>
- Date: 27 Sep 2006 03:50:41 -0700
Matthias Möller schreef:
Dear newsgroup,
we are developing a finite element package for the simulation of
compressible and incompressible flows. It is mainly written in Fortran
95 but some external libraries are coded in C and/or F77. The aim is to
write a portable code which runs on many different architectures and
compilers.
Right now, the detection of architectures works quite well. In addition,
the user can specify some meta tags, e.g., use native BLAS, etc. Then
our build system "knows" about the right compiler names, options and
paths to the external libraries.
Unfortunately, for each compiler the (performance) switches vary from
one version to another. Do you have some general idea how to determine
the version number of the compiler in a general fashion? That is, I
already know the compiler's name, e.g., g95, ifort, f95 (SUN) but need
to determine its version.
Many thanks in advance,
Matthias Moeller
Most compilers, especially the ones under UNIX/Linux, have
options like -v, -V or --version to print the version number to the
screen/standard output. You will then have to analyse that output.
If they do not have such an option, many will print the version number
as part of their operating anyway.
Regards,
Arjen
.
- Follow-Ups:
- Re: Question on multiple compiler environment
- From: Matthias Möller
- Re: Question on multiple compiler environment
- References:
- Question on multiple compiler environment
- From: Matthias Möller
- Question on multiple compiler environment
- Prev by Date: Re: factorial n! program
- Next by Date: Re: Question on multiple compiler environment
- Previous by thread: Question on multiple compiler environment
- Next by thread: Re: Question on multiple compiler environment
- Index(es):
Relevant Pages
|
|