Skip to content

Commit

Permalink
remove DEC
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaypanyala committed Jul 26, 2024
1 parent 3e7af3c commit 8986d44
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 83 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ endif()
# hardwire various GA configuration parameters. Use convention that parameters
# are defined and set to 0 if not used
set (CYGWIN 0)
set (DECOSF 0)

if (CMAKE_SYSTEM_NAME STREQUAL Linux)
set(LINUX 1)
Expand Down
24 changes: 0 additions & 24 deletions armci/README
Original file line number Diff line number Diff line change
Expand Up @@ -266,30 +266,6 @@ For example to make SHMMAX= 2GB, add either of the lines to /etc/system::
After rebooting, you should be able to take advantage of the increased shared
memory limits.

Compaq/DEC
++++++++++

Tru64 is another example of an OS with a pitifully small size of the shared
memory region limit. Here are instruction on how to modify shared memory max
segment size to 256MB on the Tru64 UNIX Version 4.0F:

1. create a file called /etc/sysconfig.shmmax::

cat > /etc/sysconfig.shmmax << EOF ipc: shm-max = 268435456 EOF

You can check if the file created is OK by typing::

/sbin/sysconfigdb -l -t /etc/sysconfig.shmmax

2. Modify kernel values::

sysconfigdb -a -f /etc/sysconfig.shmmax ipc

3. Reboot
4. To check new values::

/sbin/sysconfig -q ipc|egrep shm-max

HP-UX
+++++

Expand Down
11 changes: 2 additions & 9 deletions armci/src/include/copy.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
#if HAVE_STRING_H
# include <string.h>
#endif
#ifdef DECOSF
#include <c_asm.h>
#endif

#if 1 || defined(HITACHI) || defined(CRAY_T3E) || defined(CRAY_XT)
# define MEMCPY
Expand All @@ -33,7 +30,7 @@
EXTERN long long _armci_vec_sync_flag;
#endif

#if defined(SGI) || defined(FUJITSU) || defined(HPUX) || defined(SOLARIS) || defined (DECOSF) || defined(__ia64__) || defined(__crayx1)
#if defined(SGI) || defined(FUJITSU) || defined(HPUX) || defined(SOLARIS) || defined(__ia64__) || defined(__crayx1)
# define PTR_ALIGN
#endif

Expand All @@ -53,10 +50,6 @@
# define MEM_FENCE {mpisx_clear_cache(); _armci_vec_sync_flag=1;mpisx_syncset0_long(&_armci_vec_sync_flag);}
#endif

#ifdef DECOSF
# define MEM_FENCE asm ("mb")
#endif

#if defined(NEED_MEM_SYNC)
# ifdef AIX
# define MEM_FENCE {int _dummy=1; _clear_lock((int *)&_dummy,0); }
Expand Down Expand Up @@ -286,7 +279,7 @@ void c_dcopy13_(const int* const restrict rows,
#if defined(AIX)
# define DCOPY2D c_dcopy2d_u_
# define DCOPY1D c_dcopy1d_u_
#elif defined(LINUX) || defined(__crayx1) || defined(HPUX64) || defined(DECOSF) || defined(CRAY) || defined(WIN32) || defined(HITACHI)
#elif defined(LINUX) || defined(__crayx1) || defined(HPUX64) || defined(CRAY) || defined(WIN32) || defined(HITACHI)
# define DCOPY2D c_dcopy2d_n_
# define DCOPY1D c_dcopy1d_n_
#else
Expand Down
2 changes: 1 addition & 1 deletion armci/src/include/locks.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ extern lock_t cri_l[NUM_LOCKS];
# if defined(CRAY) || defined(CRAY_XT)
# include <mpp/shmem.h>
# endif
# if defined(DECOSF) || defined(LINUX64) || defined(__crayx1) || defined(CATAMOUNT)
# if defined(LINUX64) || defined(__crayx1) || defined(CATAMOUNT)
# define _INT_MIN_64 (LONG_MAX-1)
# endif
# undef NUM_LOCKS
Expand Down
6 changes: 0 additions & 6 deletions armci/src/include/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ static int testandset(void *spinlock) {
}
# define TESTANDSET testandset

#elif defined(DECOSF)
# if DEBUG_SPINLOCK
# warning SPINLOCK: DECOSF
# endif
# error "no implementation"

#elif defined(SGI)
# if DEBUG_SPINLOCK
# warning SPINLOCK: SGI
Expand Down
2 changes: 1 addition & 1 deletion armci/src/memory/shmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ static long occup_blocks=0;
/* SHM_OP is an operator to calculate shmem address to attach
* might be + or - depending on the system
*/
#if defined(DECOSF) || defined(LINUX)
#if defined(LINUX)
#define SHM_OP +
#else
#define SHM_OP -
Expand Down
2 changes: 1 addition & 1 deletion armci/src/memory/shmlimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#define DEBUG_ 0

#if defined(DECOSF) || defined(SOLARIS64) || defined(HPUX)
#if defined(SOLARIS64) || defined(HPUX)
#define PIPE_AFTER_FORK_BUG
#endif

Expand Down
2 changes: 1 addition & 1 deletion m4/ax_pthread.m4
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fi
# We must check for the threads library under a number of different
# names; the ordering is very important because some systems
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
# have both -lpthread and -lpthreads, where one of the
# libraries is broken (non-POSIX).
# Create a list of thread flags to try. Items starting with a "-" are
Expand Down
3 changes: 1 addition & 2 deletions m4/ga_compiler_vendor.m4
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ AC_LANG_CASE([Fortran], [ac_ext=F])
AC_LANG_CASE([Fortran 77], [ac_ext=F])
ga_cv_compiler_vendor=unknown
ga_cpp_vendor_symbols=
for vendor in intel ibm pathscale amd cray gnu sun hp dec borland comeau kai lcc metrowerks sgi microsoft watcom portland fujitsu
for vendor in intel ibm pathscale amd cray gnu sun hp borland comeau kai lcc metrowerks sgi microsoft watcom portland fujitsu
do
AS_CASE([$vendor],
[amd], [ga_cpp_vendor_symbols="defined(__OPEN64__)"],
[borland], [ga_cpp_vendor_symbols="defined(__BORLANDC__) || defined(__TURBOC__)"],
[comeau], [ga_cpp_vendor_symbols="defined(__COMO__)"],
[cray], [ga_cpp_vendor_symbols="defined(_CRAYC) || defined(_ADDR64)"],
[dec], [ga_cpp_vendor_symbols="defined(__DECC) || defined(__DECCXX) || defined(__DECC_VER) || defined(__DECCXX_VER)"],
[fujitsu], [ga_cpp_vendor_symbols="defined(__fcc__) || defined(__fcc_version__) || defined(_FCC_VER) || defined(__FCC_VER_)"],
[gnu], [ga_cpp_vendor_symbols="defined(__GNUC__)"],
[hp], [ga_cpp_vendor_symbols="defined(__HP_cc) || defined(__HP_aCC)"],
Expand Down
3 changes: 0 additions & 3 deletions m4/ga_pario.m4
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ if test x$LARGE_FILES != x ; then
fi
PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DLARGE_FILES"
fi
if test x$TARGET = xDECOSF ; then
PARIO_LDFLAGS="-laio -lpthreads"
fi
if test x$USE_LINUXAIO != x ; then
PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DLINUXAIO"
PARIO_LDFLAGS="$PARIO_LDFLAGS -lrt"
Expand Down
5 changes: 1 addition & 4 deletions m4/ga_target.m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# CRAY-T3E
# CRAY-YMP
# CYGNUS
# DECOSF
# HITACHI
# INTERIX
# SGI
Expand All @@ -24,7 +23,6 @@ AH_TEMPLATE([CRAY_XT], [Define to 1 on Cray XT systems])
AH_TEMPLATE([CRAY_YMP], [Define to 1 on Cray YMP systems])
AH_TEMPLATE([CYGNUS], [Define to 1 on Cygnus systems])
AH_TEMPLATE([CYGWIN], [Define to 1 on Cygwin systems])
AH_TEMPLATE([DECOSF], [Define to 1 on DEC OSF])
AH_TEMPLATE([FUJITSU_VPP], [Define to 1 on fujitsu systems])
AH_TEMPLATE([FUJITSU_VPP64],[Define to 1 on fujitsu systems])
AH_TEMPLATE([HITACHI], [Define to 1 on hitachi systems])
Expand Down Expand Up @@ -72,7 +70,7 @@ dnl AS_IF([test "x$ARMCI_TOP_BUILDDIR" != x], [
AC_CACHE_CHECK([whether we think this system is what we call SYSV],
[ga_cv_sysv],
[AS_CASE([$ga_cv_target_base],
[SUN|SOLARIS|SGI|SGI_N32|SGITFP|HPUX|IBM|DECOSF|LINUX|INTERIX|NEC],
[SUN|SOLARIS|SGI|SGI_N32|SGITFP|HPUX|IBM|LINUX|INTERIX|NEC],
[ga_cv_sysv=yes],
[ga_cv_sysv=no])
])
Expand All @@ -89,7 +87,6 @@ AM_CONDITIONAL([CRAY_XT], [test "$ga_cv_target_base" = CRAY_XT])
AM_CONDITIONAL([CRAY_YMP], [test "$ga_cv_target_base" = CRAY_YMP])
AM_CONDITIONAL([CYGNUS], [test "$ga_cv_target_base" = CYGNUS])
AM_CONDITIONAL([CYGWIN], [test "$ga_cv_target_base" = CYGWIN])
AM_CONDITIONAL([DECOSF], [test "$ga_cv_target_base" = DECOSF])
AM_CONDITIONAL([FUJITSU_VPP], [test "$ga_cv_target_base" = FUJITSU_VPP])
AM_CONDITIONAL([HITACHI], [test "$ga_cv_target_base" = HITACHI])
AM_CONDITIONAL([HPUX], [test "$ga_cv_target_base" = HPUX])
Expand Down
1 change: 0 additions & 1 deletion m4/ga_warn_flags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ AS_CASE([$vendor],
[borland], [result=],
[comeau], [result=],
[cray], [result=],
[dec], [result=],
[fujitsu], [result="-Xc -pvctl,fullmsg"],
[gnu], [result="-Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -pedantic -Wno-long-long -Wnested-externs -ansi"],
[hp], [result=],
Expand Down
1 change: 0 additions & 1 deletion ma/MA.tex
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
\begin{itemize}
\item Cray Y-MP C90
\item Cray T3D
\item DEC Alpha
\item HP 9000/700
\item IBM RS/6000
\item Intel DELTA
Expand Down
2 changes: 0 additions & 2 deletions ma/man/man3/MA.3
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ The following platforms are currently supported:

.in +0.5i
.nf
alpha_osf13 DEC Alpha, DEC OSF/1 V1.3
alpha_osf13_i8 DEC Alpha, DEC OSF/1 V1.3, f77 -i8
crayc90_7c_dp Cray Y-MP C90, UNICOS 7.C, cf77 -Wf-dp
crayt3d_802_dp Cray T3D, UNICOS 8.0.2, cf77 -Wf-dp
delta_pgi40 Intel DELTA, NX/M R1.5 (cross-compiled by PGI 4.0)
Expand Down
7 changes: 1 addition & 6 deletions pario/elio/elio.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#undef CRAY
#endif

#if defined(AIX) || defined(DECOSF) || defined(SGI64) || defined(CRAY) || defined(LINUXAIO)
#if defined(AIX) || defined(SGI64) || defined(CRAY) || defined(LINUXAIO)
/* systems with Asynchronous I/O */
#else
# ifndef NOAIO
Expand Down Expand Up @@ -675,11 +675,6 @@ int elio_wait(io_request_t *req_id)
if((int)aio_suspend((const struct aiocb *const*)(cb_fout_arr+(int)*req_id), 1, NULL) != 0) rc =-1;
# endif
if(rc ==-1) ELIO_ERROR(SUSPFAIL,0);

# if defined(DECOSF)
/* on DEC aio_return is required to clean internal data structures */
if(aio_return(cb_fout+(int)*req_id) == -1) ELIO_ERROR(RETUFAIL,0);
# endif
#endif

while(aio_req[aio_i] != *req_id && aio_i < MAX_AIO_REQ) aio_i++;
Expand Down
3 changes: 0 additions & 3 deletions pario/makefile.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ ifdef LIB_TARGETS
ifdef HPIODIR
LIB_DEFINES += -DHPIODIR=\'$(HPIODIR)/\'
endif
ifeq ($(TARGET), DECOSF)
LOC_LIBS += -laio -lpthreads
endif
endif

ifdef USE_LINUXAIO
Expand Down
16 changes: 0 additions & 16 deletions tcgmsg/examples/Makefile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,6 @@ IF SUN
CFLAGS = -O -dalign -DSUN -DPLOT -I$(LIBDIR)
SCFBLAS = scfblas.o
ENDIF SUN
IF DEC
FC = f77
CC = cc
LIBS =
FFLAGS = -O2
CFLAGS = -O -DULTRIX -DPLOT -I$(LIBDIR)
SCFBLAS = scfblas.o
ENDIF DEC
IF DECOSF
FC = f77
CC = cc
LIBS =
FFLAGS = -O -integer_size 64 -align dcommons -align records
CFLAGS = -O -DDECOSF -I$(LIBDIR)
SCFBLAS = scfblas.o
ENDIF DEC
IF LINUX
FC = f77
CC = cc
Expand Down
2 changes: 1 addition & 1 deletion tcgmsg/examples/grid.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static long plot_type = 0; /* 0 means no plot */
#define htonl(a) (a)
#endif

#if !defined(AIX) && !defined(DECOSF)
#if !defined(AIX)
extern char *malloc();
#endif
extern void exit();
Expand Down

0 comments on commit 8986d44

Please sign in to comment.