/[escript]/branches/domexper/dudley/src/CPPAdapter/DudleyError.h
ViewVC logotype

Contents of /branches/domexper/dudley/src/CPPAdapter/DudleyError.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (show annotations)
Mon Mar 27 02:43:09 2006 UTC (13 years, 1 month ago) by robwdcock
Original Path: trunk/finley/src/CPPAdapter/FinleyError.h
File MIME type: text/plain
File size: 1299 byte(s)
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3


1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined finley_FinleyError_20040528_H
14 #define finley_FinleyError_20040528_H
15
16 extern "C" {
17 #include "../Finley.h"
18 }
19
20 #include "FinleyAdapterException.h"
21
22 #include <string>
23
24 namespace finley {
25 /**
26 \brief
27 Provide a C++ interface to the finley C funcion of the same name.
28 Needed because of constness problems.
29 */
30 void setFinleyError(Finley_ErrorCodeType errorCode,
31 const std::string& errMess);
32
33 /**
34 \brief
35 Convert a C finley error into a C++ exception.
36 */
37 void checkFinleyError();
38 /**
39 \brief
40 Convert a C paso error into a C++ exception.
41 */
42 void checkPasoError();
43 } // end of namespace
44 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26