Changeset 81
- Timestamp:
- 10/14/12 21:12:48 (13 years ago)
- Location:
- branches/2.0
- Files:
-
- 3 added
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0
-
Property
svn:ignore set
to
configure
Makefile.in
config.log
scripts
config.status
stamp-h1
config.h
config.h.in
drmaa_utils
libtool
autom4te.cache
Makefile
aclocal.m4
.libs
.deps
pbs_attrib.c
del_all_jobs
pbs_drmaa-1.0.2.tar.gz
pbs_drmaa-1.0.3.tar.gz
pbs_drmaa
.svnignore
configure.ac
readme.html
readme.pdf
readme.tex
ltsugar.m4
libtool.m4
ltversion.m4
lt~obsolete.m4
ltoptions.m4
readme.toc
readme.out
readme.aux
readme.log
libtool.m4
lt~obsolete.m4
ltsugar.m4
ltversion.m4
ltoptions.m4
.project
.cproject
drmaa_example1
drmaa_example2
-
Property
svn:ignore set
to
-
branches/2.0/.svnignore
r12 r81 33 33 readme.aux 34 34 readme.log 35 libtool.m4 36 lt~obsolete.m4 37 ltsugar.m4 38 ltversion.m4 39 ltoptions.m4 40 .project 41 .cproject 42 drmaa_example1 43 drmaa_example2 -
branches/2.0/Makefile.am
r77 r81 1 1 # $Id$ 2 2 # 3 # FedStage DRMAA for PBS Pro4 # Copyright (C) 20 06-2009 FedStage Systems3 # DRMAA for Torque/PBS Professional 4 # Copyright (C) 2012 Poznan Supercomputing and Networking Center 5 5 # 6 6 # This program is free software: you can redistribute it and/or modify … … 24 24 m4/missing-dev-prog.sh 25 25 26 SUBDIRS = drmaa2_utils pbs_drmaa26 SUBDIRS = drmaa2_utils drmaa2_testsuite pbs_drmaa -
branches/2.0/configure.ac
r77 r81 58 58 fi 59 59 60 if test x$GCC = xyes; then61 CFLAGS="-pedantic -ansi ${CFLAGS}"62 fi63 60 AM_CONDITIONAL([GCC], [test x$GCC = xyes]) 64 61 … … 168 165 Makefile 169 166 pbs_drmaa/Makefile 167 drmaa2_testsuite/Makefile 170 168 ]) 171 169 AC_CONFIG_HEADERS([config.h]) -
branches/2.0/drmaa2_utils/configure.ac
r78 r81 86 86 fi 87 87 88 if test x$GCC = xyes; then89 CFLAGS="-pedantic -ansi ${CFLAGS}"90 fi91 88 AM_CONDITIONAL([GCC], [test x$GCC = xyes]) 92 89 -
branches/2.0/drmaa2_utils/drmaa_utils/Makefile.am
r77 r81 33 33 lookup3.c lookup.h \ 34 34 thread.h thread.c \ 35 xmalloc.h xmalloc.c 35 xmalloc.h xmalloc.c \ 36 jsession.h fsd_jsession.c 36 37 # job.h fsd_job.c \ 37 38 # session.h fsd_session.c \ -
branches/2.0/drmaa2_utils/drmaa_utils/common.h
r77 r81 29 29 #include <drmaa_utils/logging.h> 30 30 #include <drmaa_utils/xmalloc.h> 31 #include <drmaa_utils/drmaa2.h> 32 31 33 32 34 #define FSD_SAFE_STR(str) ( str != NULL ? str : "(null)" ) … … 45 47 /* DRMAA structures */ 46 48 typedef struct fsd_drmaa_singletone_s fsd_drmaa_singletone_t; 47 typedef struct fsd_drmaa_session_s fsd_drmaa_session_t; 49 typedef struct fsd_drmaa_jsession_s fsd_drmaa_jsession_t; 50 typedef struct fsd_drmaa_rsession_s fsd_drmaa_rsession_t; 51 typedef struct fsd_drmaa_msession_s fsd_drmaa_msession_t; 52 48 53 typedef struct fsd_job_set_s fsd_job_set_t; 49 54 typedef struct fsd_job_s fsd_job_t; -
branches/2.0/drmaa2_utils/drmaa_utils/drmaa_base.c
r77 r81 83 83 84 84 85 /* 86 * 109 functions in total 87 * 88 * implemented so far: 89 * 14/10/2012 - 0 90 */ 85 91 86 92 void drmaa2_string_free(drmaa2_string *ptr) -
branches/2.0/drmaa2_utils/drmaa_utils/drmaa_base.h
r77 r81 26 26 27 27 #include <drmaa_utils/common.h> 28 #include <drmaa_utils/ thread.h>28 #include <drmaa_utils/drmaa2.h> 29 29 30 #if 0 30 31 31 struct fsd_drmaa_singletone_s { 32 /** Global session object */33 fsd_drmaa_session_t *session;34 fsd_mutex_t session_mutex;35 32 36 fsd_drmaa_session_t *(*new_session)( 37 fsd_drmaa_singletone_t *self, 38 const char *contact 39 ); 33 fsd_drmaa_jsession_t *(*new_jsession)(fsd_drmaa_singletone_t *self, const char *contact); 34 fsd_drmaa_rsession_t *(*new_rsession)(fsd_drmaa_singletone_t *self, const char *contact); 35 fsd_drmaa_msession_t *(*new_msession)(fsd_drmaa_singletone_t *self, const char *contact); 40 36 41 fsd_template_t *(*new_job_template)( 42 fsd_drmaa_singletone_t *self 43 ); 44 45 const char* (*get_contact)( fsd_drmaa_singletone_t *self ); 46 void (*get_version)( 47 fsd_drmaa_singletone_t *self, 48 unsigned *major, unsigned *minor 49 ); 50 const char* (*get_DRM_system)( fsd_drmaa_singletone_t *self ); 51 const char* (*get_DRMAA_implementation)( fsd_drmaa_singletone_t *self ); 52 53 fsd_iter_t * (* 54 get_attribute_names)( 55 fsd_drmaa_singletone_t *self ); 56 57 fsd_iter_t * (* 58 get_vector_attribute_names)( 59 fsd_drmaa_singletone_t *self ); 60 61 int (*wifexited)( int *exited, int stat, 62 char *error_diagnosis, size_t error_diag_len ); 63 int (*wexitstatus)( int *exit_status, int stat, 64 char *error_diagnosis, size_t error_diag_len ); 65 int (*wifsignaled)( int *signaled, int stat, 66 char *error_diagnosis, size_t error_diag_len ); 67 int (*wtermsig)( char *signal, size_t signal_len, int stat, 68 char *error_diagnosis, size_t error_diag_len ); 69 int (*wcoredump)( int *core_dumped, int stat, 70 char *error_diagnosis, size_t error_diag_len ); 71 int (*wifaborted)( int *aborted, int stat, 72 char *error_diagnosis, size_t error_diag_len ); 37 drmaa2_string (*get_drms_name)(void); 38 drmaa2_version (*get_drms_version)(void); 39 drmaa2_string (*get_drmaa_name)(void); 40 drmaa2_version (*get_drmaa_version)(void); 41 drmaa2_bool (*drmaa2_supports)(const drmaa2_capability c); 73 42 }; 74 43 75 44 extern fsd_drmaa_singletone_t _fsd_drmaa_singletone; 76 #endif77 45 78 46 #endif /* __DRMAA_UTILS__DRMAA_BASE_H */ -
branches/2.0/m4
-
Property
svn:ignore set
to
configure
Makefile.in
config.log
scripts
config.status
stamp-h1
config.h
config.h.in
drmaa_utils
libtool
autom4te.cache
Makefile
aclocal.m4
.libs
.deps
pbs_attrib.c
del_all_jobs
pbs_drmaa-1.0.2.tar.gz
pbs_drmaa-1.0.3.tar.gz
pbs_drmaa
.svnignore
configure.ac
readme.html
readme.pdf
readme.tex
ltsugar.m4
libtool.m4
ltversion.m4
lt~obsolete.m4
ltoptions.m4
readme.toc
readme.out
readme.aux
readme.log
libtool.m4
lt~obsolete.m4
ltsugar.m4
ltversion.m4
ltoptions.m4
-
Property
svn:ignore set
to
-
branches/2.0/pbs_drmaa
-
Property
svn:ignore set
to
configure
Makefile.in
config.log
scripts
config.status
stamp-h1
config.h
config.h.in
drmaa_utils
libtool
autom4te.cache
Makefile
aclocal.m4
.libs
.deps
pbs_attrib.c
del_all_jobs
pbs_drmaa-1.0.2.tar.gz
pbs_drmaa-1.0.3.tar.gz
pbs_drmaa
.svnignore
configure.ac
readme.html
readme.pdf
readme.tex
ltsugar.m4
libtool.m4
ltversion.m4
lt~obsolete.m4
ltoptions.m4
readme.toc
readme.out
readme.aux
readme.log
libtool.m4
lt~obsolete.m4
ltsugar.m4
ltversion.m4
ltoptions.m4
-
Property
svn:ignore set
to
-
branches/2.0/pbs_drmaa/Makefile.am
r12 r81 1 1 # $Id$ 2 2 # 3 # FedStage DRMAA forPBS Professional4 # Copyright (C) 20 06-2009 FedStage Systems3 # DRMAA for Torque/PBS Professional 4 # Copyright (C) 2012 Poznan Supercomputing and Networking Center 5 5 # 6 6 # This program is free software: you can redistribute it and/or modify … … 20 20 GPERF = @GPERF@ 21 21 GPERFFLAGS = --readonly-tables 22 AM_CPPFLAGS = @PBS_INCLUDES@ -I$(top_srcdir)/drmaa _utils -fPIC22 AM_CPPFLAGS = @PBS_INCLUDES@ -I$(top_srcdir)/drmaa2_utils -fPIC 23 23 24 24 lib_LTLIBRARIES = libdrmaa.la 25 25 26 26 libdrmaa_la_SOURCES = \ 27 drmaa.c \28 job.c job.h \29 pbs_attrib.gperf pbs_attrib.h \30 session.c session.h \31 submit.c submit.h \32 util.c util.h \33 log_reader.c log_reader.h27 drmaa.c 28 # job.c job.h \ 29 # pbs_attrib.gperf pbs_attrib.h \ 30 # session.c session.h \ 31 # submit.c submit.h \ 32 # util.c util.h \ 33 # log_reader.c log_reader.h 34 34 BUILT_SOURCES = pbs_attrib.c 35 35 EXTRA_DIST = pbs_attrib.c 36 36 dist_sysconf_DATA = pbs_drmaa.conf.example 37 libdrmaa_la_LIBADD = ../drmaa _utils/drmaa_utils/libdrmaa_utils.la @PBS_LIBS@37 libdrmaa_la_LIBADD = ../drmaa2_utils/drmaa_utils/libdrmaa_utils.la @PBS_LIBS@ 38 38 libdrmaa_la_LDFLAGS = @PBS_LDFLAGS@ -version-info @PBS_DRMAA_VERSION_INFO@ 39 39 -
branches/2.0/pbs_drmaa/drmaa.c
r12 r81 1 1 /* $Id$ */ 2 2 /* 3 * FedStage DRMAA forPBS Pro4 * Copyright (C) 20 06-2007 FedStage Systems3 * PSNC DRMAA 2.0 for Torque/PBS Pro 4 * Copyright (C) 2012 Poznan Supercomputing and Networking Center 5 5 * 6 6 * This program is free software: you can redistribute it and/or modify … … 22 22 #endif 23 23 24 #include <signal.h>25 24 #include <drmaa_utils/drmaa_base.h> 26 #include <drmaa_utils/session.h> 27 #include <drmaa_utils/template.h> 28 #include <drmaa_utils/drmaa_attrib.h> 29 #include <drmaa_utils/iter.h> 30 #include <drmaa_utils/logging.h> 31 #include <pbs_drmaa/session.h> 32 33 25 26 27 28 #if 0 34 29 static fsd_drmaa_session_t * 35 30 pbsdrmaa_new_session( fsd_drmaa_singletone_t *self, const char *contact ) … … 225 220 }; 226 221 222 #endif
Note: See TracChangeset
for help on using the changeset viewer.