Hi,
I have a series of tests I would like to perform, some of which are serial and
some of which are mpi and should use np processors.
I would further prefer to be able to process this as a list of paired values.
The following is nothing but pseudocode, but it attempts to convey the idea.
The ability to pair attributes (either as tuples or as some sort of map or
dictionary) is something I would love to learn to emulate. Am I missing an easy
way to do this? Thanks -E
foreach(testname (test_serial_1,serial,na),
test_mpi_1,mpi,4),
test_mpi_2,mpi,2) )
maketest(${testname}[0], ${testname}[1],${testname}[2])
endforeach()
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake