| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
indicating none has been found. Print a legible error message instead
of gibberish.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3663 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3623 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
limits which was leading to truncated expressions in processing Fortran
files.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3577 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3549 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
calculation
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3548 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
preprocessed
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3547 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
preprocessors
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3546 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
file instead of the preprocessed file. The options C_LINE_DIRECTIVES
and F_LINE_DIRECTIVES control this behaviour.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3527 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Also, detect Fortran 90 inter-module dependencies automatically.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3524 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3523 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
preprocessing Fortran files.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3522 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3521 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
so that they are printed before make checks the dependencies, which can
take quite some time.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3429 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes NFS problem described in Cactus/994
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2971 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2244 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Should fix PR582.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2117 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
Don't use C preprocessor to find dependencies of fortran files with
.f, .f90, .f77 extensions.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2111 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
c and c++ source files, as per c_file_processor 1.15. This allows __FILE__
directives to work, and also allows the compiler to point to the c source
file for warning/error messages.
If this gives problems on any architecture it will need to be removed.
You need to do a make <config>-config to activate this.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1992 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
help with PR 224.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1962 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
(Treatment of free format fortran)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1543 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C_POSTPROCESSING
CXX_POSTPROCESSING
F77_POSTPROCESSING
F_POSTPROCESSING
F90_POSTPROCESSING
as things a known-architecture can set. This allows object files to be
moved and things like that.
Also added the ability of the architecture files to write to a file calles
make.arch.defn
which is included at the bottom of make.code.defn. Thus, for example,
an architecture requiring mpicc and its ilk for compiling with MPI
can replace the compilers at this point, but still allow the rest
of the configuration to use the normal compiler. Use with caution.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1438 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CXX_WORKING_NAME
this defaults to the working name being the filename without the directory
info, but can be used to give the file generated after preprocessing a
different name. E.g. if your machine requires C++ files to end with .C
you should be able to do
CXX_WORKING_NAME='$(notdir $<).C
to solve the problem.
At some point we're going to have to go through all these obscure flags
and decide on nice names and what functionality they really should have.
For instance the above could also have been done by introducing CXX_SUFFIX
which would of course be easier for the end-user, but might in some
circumstances be less useful.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1420 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1412 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OPTIMISE=no
to switch off optimisation flags for quicker compiling. The known
architectures files can now contain
C_OPTIMISE_FLAGS
CXX_OPTIMISE_FLAGS
F77_OPTIMISE_FLAGS
F90_OPTIMISE_FLAGS
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1395 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thorn with free-format f90 in it this is not guaranteed to
work on all platforms.
Thanks for doing this Erik.
Tidied up the f_file_processor to some extent added grdoc stuff to it,
and made the formatting consistent with the rest of the perl in the CCTK.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1168 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
excessive recompilation when the thornlist is changed.
Tested under Linux.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1134 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1124 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
Fixes Compiler/140.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1108 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
under NT, so need to create a backup file and then delete it.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1072 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1069 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1011 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
names of the form bae.lang.o, etc.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1010 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allowed in a thorn.
This also makes the names of the dependency files unique, so should also solve
PR CCTK/75.
You will need to do a <config>-config
after this,
or do
cp lib/make/make.config.rules.in configs/<config>/config-data/make.config.rules
in order for everything to work again.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@894 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@867 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It follows the way MPI was added with "extras".
So, to make a configuration be compiled with debug, say
make DEBUG=ALL <configname>
if fact, now you could say DEBUG=whatevershiticomeup and it's going to work
the same... but we will add DEBUG=FORTRAN,C,ALL etc... support in the future.
- Joan
git-svn-id: http://svn.cactuscode.org/flesh/trunk@810 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This needs to be tidied some.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@766 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added {C,CXX,F,F77}_DEPEND_OUT for the end of dependency rules - i.e.
it contains > $@ by default, but on architectures where the dependency info
is generated in more complicated ways, such as the Exemplar or AIX it
can be something more long-winded.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@712 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@678 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
with the name of the file. I wanted to do this in f_file_processor.pl,
but I don't know the filename.
Anyone know a better way to do this?
git-svn-id: http://svn.cactuscode.org/flesh/trunk@620 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
due to unresolved symbols rather than the command line syntax
being wrong.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@599 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Almost there. Everything seems to compile, modulo a problem I just spotted,
with only the final linking remaining.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@589 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@549 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
particular place, but some don't. Now the options are held in
make variables, and a known-architectures, or setup options script
can set these appropriately. Currently they default to -c -o .
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@457 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
Now use CPP to get deps for all non-c/c++ files, and for all other non-dep
stuff, and CC for deps for c/c++ files. This should (hopefully) now work
without tweaking on all architectures.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@438 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
directory before building every file.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@421 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
// means concatonate in fortran
Added lines to replace // in fortran before preprocessing with another
string and put it back after preprocessing
Gab.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@416 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@288 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
needed for the preprocessing stage, and the pacific compiler under Linux
doesn't like it.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@285 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
lowercase .f or .f77 .
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@238 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
through sed to convert names beginning with, say, //d/foo to d:/foo to
allow compilation under cygwin.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@213 17b73243-c579-4c4c-a9d2-2d5706c11dac
|