Commit 00ad30aa authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

bm_Remap.sh update.

parent 33072400
......@@ -95,7 +95,7 @@ case "${HOSTNAME}" in
${CONFPATH}configure --enable-cxx --prefix=$HOME/local \
$CDOLIBS \
CC=icc CXX=icpc CFLAGS="-g -Wall -O2 -qopt-report=5 -march=native" CXX=icpc
elif test "$COMP" = icpc ; then
elif test "$COMP" = icc ; then
${CONFPATH}configure \
$CDOLIBS \
CC=icc CFLAGS="-g -Wall -Wwrite-strings -O2 -qopt-report=5 -march=native"
......
......@@ -28,7 +28,7 @@
#include "time.h"
/* Quicksort is called with a pointer to the array to be sorted and an integer indicating its length. */
static
void quick_sort(double * array, int array_length)
{
int i, j;
......@@ -53,7 +53,7 @@ void quick_sort(double * array, int array_length)
}
/* Quicksort is called with a pointer to the array of center points to be sorted and an integer indicating its length. It sorts the array by its longitude coordinates */
static
void quick_sort_by_lon(double * array, int array_length)
{
int i, j;
......@@ -91,7 +91,7 @@ void quick_sort_by_lon(double * array, int array_length)
}
/* This uses quicksort to sort the latitude coordinates in a subarray of all coordinates. */
static
void quick_sort_of_subarray_by_lat(double * array, int subarray_start, int subarray_end)
{
int subarray_length = (subarray_end - subarray_start) / 2 + 1;
......@@ -114,8 +114,6 @@ void quick_sort_of_subarray_by_lat(double * array, int subarray_start, int subar
}
static
double determinant(double matrix[3][3])
{
......
#!/bin/sh
#
export DYLD_LIBRARY_PATH=/opt/intel/lib:$DYLD_LIBRARY_PATH
CDO=src/cdo
#CDO=cdo-1.6.2
#
RMODS="bil bic nn con ycon"
#
$CDO -V
#$CDO -setrtomiss,0,10000 -topo topo05
$CDO -setrtomiss,0,10000 -remapbil,global_0.05 -topo topo005
#
......@@ -44,6 +46,20 @@ done
# 4024MB 5836MB 1240MB
####################################################
#
# CDO 1.8.0 ----------------------------------------
#
# result on hama2: gcc 6.1.0 avx2
# =================
# bil bic nn con ycon
# reg2d 0.5 1.1 0.6 138 92
# curv 22 22 74 138 172
#
# result on hama2: icc 16.0.2 avx2
# =================
# bil bic nn con ycon
# reg2d 0.6 1.3 0.7 120 90
# curv 21 21 74 120 163
#
# CDO 1.6.8 ----------------------------------------
#
# result on hama2: gcc 5.1.0 avx2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment