1
/*============================================================================
3
* This file is part of the Code_Saturne Kernel, element of the
4
* Code_Saturne CFD tool.
6
* Copyright (C) 1998-2009 EDF S.A., France
8
* contact: saturne-support@edf.fr
10
* The Code_Saturne Kernel is free software; you can redistribute it
11
* and/or modify it under the terms of the GNU General Public License
12
* as published by the Free Software Foundation; either version 2 of
13
* the License, or (at your option) any later version.
15
* The Code_Saturne Kernel is distributed in the hope that it will be
16
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
17
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with the Code_Saturne Kernel; if not, write to the
22
* Free Software Foundation, Inc.,
23
* 51 Franklin St, Fifth Floor,
24
* Boston, MA 02110-1301 USA
26
*============================================================================*/
28
#ifndef __CS_TCPUMX_H__
29
#define __CS_TCPUMX_H__
31
/*============================================================================
32
* Query time allocated to this process (useful mainly under PBS)
33
*============================================================================*/
35
/*----------------------------------------------------------------------------
37
*----------------------------------------------------------------------------*/
41
/*----------------------------------------------------------------------------*/
45
/*============================================================================
46
* Public function prototypes for Fortran API
47
*============================================================================*/
49
/*----------------------------------------------------------------------------
50
* Query CPU time allocated to this process
54
* SUBROUTINE TCPUMX (TPS , RET)
57
* DOUBLE PRECISION TPS : <-- : remaining time (default: 7 days)
58
* INTEGER RET : <-- : return code:
60
* : : 0: no limit using this method
61
* : : 1: CPU limit determined
62
*----------------------------------------------------------------------------*/
64
void CS_PROCF (tcpumx, TCPUMX) (double *tps,
67
/*----------------------------------------------------------------------------*/
71
#endif /* _CS_TCPUMX_H_ */