From 003a56ccf1c7372a169e68da39582497c854febc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= <lukas.krupcik@vsb.cz>
Date: Wed, 4 Mar 2020 14:32:45 +0100
Subject: [PATCH] Update compilers.md

---
 docs.it4i/software/compilers.md | 84 ++-------------------------------
 1 file changed, 5 insertions(+), 79 deletions(-)

diff --git a/docs.it4i/software/compilers.md b/docs.it4i/software/compilers.md
index 4d276b761..148d171ef 100644
--- a/docs.it4i/software/compilers.md
+++ b/docs.it4i/software/compilers.md
@@ -8,7 +8,7 @@ There are several compilers for different programming languages available on the
 * Fortran 77/90/95/HPF
 * Unified Parallel C
 * Java
-* NVIDIA CUDA (only on Anselm)
+* NVIDIA CUDA
 
 The C/C++ and Fortran compilers are provided by:
 
@@ -26,9 +26,9 @@ Commercial licenses:
 
 For information about the usage of Intel Compilers and other Intel products, read the [Intel Parallel studio][1] page.
 
-## PGI Compilers (Only on Salomon)
+## PGI Compilers
 
-The Portland Group Cluster Development Kit (PGI CDK) is available on Salomon.
+The Portland Group Cluster Development Kit (PGI CDK).
 
 ```console
 $ ml PGI
@@ -55,7 +55,7 @@ For more information, see the [PGI page][a].
 
 ## GNU
 
-For compatibility reasons there are still available the original (old 4.4.7-11) versions of GNU compilers as part of the OS. These are accessible in the search path by default.
+For compatibility reasons there are still available the original (old 4.8.5) versions of GNU compilers as part of the OS. These are accessible in the search path by default.
 
 It is strongly recommended to use the up to date version which comes with the module GCC:
 
@@ -78,24 +78,7 @@ $ echo $DEBUGFLAGS
 
 For more information about the possibilities of the compilers, see the man pages.
 
-## Unified Parallel C
-
-UPC is supported by two compiler/runtime implementations:
-
-* GNU - SMP/multi-threading support only
-* Berkeley - multi-node support as well as SMP/multi-threading support
-
-### GNU UPC Compiler
-
-To use the GNU UPC compiler and run the compiled binaries use the module GUPC
-
-```console
-$ module add gupc
-$ gupc -v
-$ g++ -v
-```
-
-Simple program to test the compiler
+**Simple program to test the compiler**
 
 ```cpp
 $ cat count.upc
@@ -128,63 +111,6 @@ $ ./count.upc.x -fupc-threads-5
 
 For more information see the man pages.
 
-### Berkeley UPC Compiler
-
-To use the Berkeley UPC compiler and runtime environment to run the binaries use the module BUPC
-
-```console
-$ module add BerkeleyUPC/2.16.2-gompi-2015b   # on Anselm: ml bupc
-$ upcc -version
-```
-
-As default UPC network the "SMP" is used. This is very quick and easy way for testing/debugging, but limited to one node only.
-
-For production runs, it is recommended to use the native InfiniBand implementation of UPC network "IBV". For testing/debugging using multiple nodes, the "MPI" UPC network is recommended.
-
-!!! warning
-    Selection of the network is done at the compile time and not at runtime (as expected)!
-
-Example UPC code:
-
-```cpp
-$ cat hello.upc
-
-/* hello.upc - a simple UPC example */
-#include <upc.h>
-#include <stdio.h>
-
-int main() {
-  if (MYTHREAD == 0) {
-    printf("Welcome to Berkeley UPC!!!n");
-  }
-  upc_barrier;
-  printf(" - Hello from thread %in", MYTHREAD);
-  return 0;
-}
-```
-
-To compile the example with the "IBV" UPC network use
-
-```console
-$ upcc -network=ibv -o hello.upc.x hello.upc
-```
-
-To run the example with 5 threads issue
-
-```console
-$ upcrun -n 5 ./hello.upc.x
-```
-
-To run the example on two compute nodes using all 48 cores, with 48 threads, issue (on Anselm compute on 32 cores)
-
-```console
-$ qsub -I -q qprod -A PROJECT_ID -l select=2:ncpus=24
-$ module add bupc
-$ upcrun -n 48 ./hello.upc.x
-```
-
-For more information see the man pages.
-
 ## Java
 
 For information how to use Java (runtime and/or compiler), read the [Java page][2].
-- 
GitLab