[CMake] Problem with 'mpi.mod.stamp' fake file

2007-12-06 Thread Baptiste Derongs
mpi.mod.stamp file in the Root directory and now build works. Perhaps the file needs to be created where we tell that the project is in Fortran. I did that in the root CMakeLists.txt, by PROJECT(Name Fortran C) My system is Linux, and the library is in Fortran90. Baptiste Derongs

Re: [CMake] Re: Fortran Flags

2007-11-30 Thread Baptiste Derongs
On Nov 29, 2007 6:17 PM, Alan W. Irwin [EMAIL PROTECTED] wrote: On 2007-11-29 11:22+0100 Baptiste Derongs wrote: Hum...sorry for that, too fast on the keyboard... Hello all, I'm currently trying to compile some fortran programs. I need to pass them some flags (actually mpif90 script

[CMake] Fortran Flags

2007-11-29 Thread Baptiste Derongs
Hello all, I'm currently trying to compile some fortran programs. I need to pass them some flags (actually mpif90 script flags). I give flags by setting Fortran_FLAGS ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] How to get CurrentTag

2007-11-22 Thread Baptiste Derongs
Hello all, After the run of ctest I need to access (by a script) to the Xml files in ${CTEST_BINARY_DIR}/Testing/Tag, where tag is by default the timestamp of the test. Is there any solution to set this tag or to get its value in CTest ? My script is based on the stable version of Ctest, where

Re: [CMake] Cvs version 'Segmentation Fault'

2007-11-09 Thread Baptiste Derongs
Never mind, I think I found the crash. Can you cvs update and try now? Thank you, it works well now. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Cvs version 'Segmentation Fault'

2007-11-08 Thread Baptiste Derongs
If you could build cmake with Debug (-g) it would be more helpful... I do not see anything more with Debug (I set Debug in Build Type in ccmake options) Also, if you add -VV to ctest what are the last 100 lines of output? 100 lines won't be helpfull, there are just a list of tests results,

Re: [CMake] Cvs version 'Segmentation Fault'

2007-11-07 Thread Baptiste Derongs
Would it be possible for you to run ctest in gdb or some debugger and send a call stack of the crash? Here is the stack juste after Ctest crashed (gdb) bt #0 0x00d5175d in std::string::append () from /usr/lib/libstdc++.so.6 #1 0x00d51972 in std::string::operator+= () from

[CMake] Cvs version 'Segmentation Fault'

2007-11-06 Thread Baptiste Derongs
Hello all, I've just downloaded the cvs version of Cmake, I built it with the regular version of Cmake (2.4.7). My project uses a ctest script. In this script I set CMake and Ctest path to the Cvs version. When I call the script with the Cvs version of ctest, I get a Segmentation Fault. It is

[CMAKE] Fortran Compiler different from ifort

2007-10-31 Thread Baptiste Derongs
Hello all, I am trying to compile some MPI Fortran programs, so the compiler is mpif90. So I took the cmake/Tests/Fortran example and just set CMAKE_Fortran_COMPILER. I tried to set it in CMakeLists.txt and directly in CMakeCache.txt. I can't make ADD_EXECUTABLE (or ADD_LIBRARY) working, it

Re: [CMake] Ctest timeout problem

2007-10-26 Thread Baptiste Derongs
, DartConfiguation and DartTestFile) where one can find the value, and even those ones are good, there are times when the default timeout is used. Baptiste On 10/24/07, Baptiste Derongs [EMAIL PROTECTED] wrote: Hello all, I have got multiple tests, run by a ctest script. But I have a problem with timeout

[CMake] Ctest timeout problem

2007-10-24 Thread Baptiste Derongs
Hello all, I have got multiple tests, run by a ctest script. But I have a problem with timeout options. All my test are very quick, so I want to set a timeout of 60 seconds. I tried first to set for each test a timeout, by SET_TESTS_PROPERTIES, but the real timeout that I saw when I ran the

[CMake] How to get the result of a test during tests

2007-10-22 Thread Baptiste Derongs
Hello all, I would like to test a property of my system (actually if an MPI function works well). And only if it does, I will launch a part of my tests. If not, only the main part will execute. So I was thinking that the best solution would be to ADD_TEST something that will look at my MPI

[CMake]CTest scripting, change location of Xml Files

2007-10-19 Thread Baptiste Derongs
based on the system time perhaps, just like what ctest does by default, when one does not use scripting). Is there any options to give to CTEST_CONFIGURE, etc.. Or a VARIABLE to SET in order to change the default destination directory ? Baptiste Derongs

[CMake] CTest results without submitting

2007-10-11 Thread Baptiste Derongs
Hello all, I am running a lot of tests with Ctest, and I would like to gather the results. However I do not want to send them to a Dart server (not really I do not want, but that is not the easiest way for me). So I made a CTestConfig.cmake with some weird commands that make Ctests -D unable to

Re: [CMake] Compiling without linking

2007-10-04 Thread Baptiste Derongs
On Wednesday 03 October 2007 16:27:14 Baptiste Derongs wrote: Hello all, I just begin in using Cmake (but I'm going faster than I never went with any configure.in), and I am wondering how to get a '.o' file (how to call gcc -c in fact). I tried to set CMAKE_C_FLAGS to -c, it kind

Re: [CMake] Compiling without linking

2007-10-04 Thread Baptiste Derongs
On 10/4/07, Torsten Martinsen [EMAIL PROTECTED] wrote: Baptiste Derongs wrote: The point is that I want a MakeFile that creates only the .o file, doesnt try to get binary. Next that same Makefile (and other ones) need the .o file to make other binaries. Instead of focussing on how to do

[CMake] Compiling without linking

2007-10-03 Thread Baptiste Derongs
Hello all, I just begin in using Cmake (but I'm going faster than I never went with any configure.in), and I am wondering how to get a '.o' file (how to call gcc -c in fact). I tried to set CMAKE_C_FLAGS to -c, it kind of worked, but it doest seem very generic Is there any better solution ?