Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gconant0 committed Jan 19, 2023
1 parent 0bd7e6f commit cc08f88
Show file tree
Hide file tree
Showing 41 changed files with 20,874 additions and 79 deletions.
534 changes: 505 additions & 29 deletions POInT.html

Large diffs are not rendered by default.

25 changes: 15 additions & 10 deletions configure.pl
Expand Up @@ -2,7 +2,7 @@

use strict;

my($i, $plot_path, $parallel, %paths, $cc, $CC, $make_daemon, $lapack_installed, $lapack_version, $blas_version, $plot_version, $cgi_installed, $boost_installed, @out, $myloc, $j);
my($i, $plot_path, $parallel, %paths, $version, $cc, $CC, $make_daemon, $lapack_installed, $lapack_version, $blas_version, $plot_version, $cgi_installed, $boost_installed, @out, $myloc, $j);

$lapack_installed=0;
$boost_installed=0;
Expand All @@ -12,6 +12,12 @@
$make_daemon=0;
$plot_version="";

open(READDATA, "<version.txt") or die;
$version=<READDATA>;
$version =~ s/\n//;
close(READDATA);
$version = "POInT_version=" . $version;

if(glob("/usr/lib/x86_64-linux-gnu/libcgicc*")) {
$cgi_installed=1;
}
Expand Down Expand Up @@ -211,7 +217,6 @@
print WRITEMAKE "CC = $cc\n";
print WRITEMAKE "SHELL = /bin/sh\n";
print WRITEMAKE "CFLAGS = -O\n";

print WRITEMAKE "# compile, then strip unnecessary symbols\n.c.o:\n";
print WRITEMAKE "\t\$(CC) -c -DSkip_f2c_Undefs \$(CFLAGS) \$*.c\n";
print WRITEMAKE "\tld -r -x -o \$*.xxx \$*.o\n\tmv \$*.xxx \$*.o\n";
Expand Down Expand Up @@ -370,36 +375,36 @@
if($lapack_installed == 0) {
if ($parallel == 0) {
if ($plot_path eq "") {
print WRITEMAKE "CFLAGS = -g -D___LOCAL_BLAS___ -I./\n";
print WRITEMAKE "CFLAGS = -g -D___LOCAL_BLAS___ -D$version -I./\n";
}
else {
print WRITEMAKE "CFLAGS = -g -D_DO_PLOT_ -D___LOCAL_BLAS___ -I./\n";
print WRITEMAKE "CFLAGS = -g -D_DO_PLOT_ -D___LOCAL_BLAS___ -D$version -I./\n";
}
}
else {
if ($plot_path eq "") {
print WRITEMAKE "CFLAGS = -DGCC_COMPILE -D_OPEN_MP_VERSION_ -fopenmp -D___LOCAL_BLAS___\n"
print WRITEMAKE "CFLAGS = -DGCC_COMPILE -D_OPEN_MP_VERSION_ -fopenmp -D$version -D___LOCAL_BLAS___\n"
}
else {
print WRITEMAKE "CFLAGS =-D_DO_PLOT_ -DGCC_COMPILE -D_OPEN_MP_VERSION_ -fopenmp -D___LOCAL_BLAS___ -I.\n"
print WRITEMAKE "CFLAGS =-D_DO_PLOT_ -DGCC_COMPILE -D_OPEN_MP_VERSION_ -fopenmp -D$version -D___LOCAL_BLAS___ -I.\n"
}
}
}
else {
if ($parallel == 0) {
if ($plot_path eq "") {
print WRITEMAKE "CFLAGS = -g -I./\n";
print WRITEMAKE "CFLAGS = -g -D$version -I./\n";
}
else {
print WRITEMAKE "CFLAGS = -g -D_DO_PLOT_ -I./\n";
print WRITEMAKE "CFLAGS = -g -D_DO_PLOT_ -D$version -I./\n";
}
}
else {
if ($plot_path eq "") {
print WRITEMAKE "CFLAGS = -DGCC_COMPILE -D_OPEN_MP_VERSION_ -fopenmp \n"
print WRITEMAKE "CFLAGS = -DGCC_COMPILE -D_OPEN_MP_VERSION_ -D$version -fopenmp \n"
}
else {
print WRITEMAKE "CFLAGS =-D_DO_PLOT_ -DGCC_COMPILE -D_OPEN_MP_VERSION_ -fopenmp -I.\n"
print WRITEMAKE "CFLAGS =-D_DO_PLOT_ -DGCC_COMPILE -D_OPEN_MP_VERSION_ -fopenmp -D$version -I.\n"
}
}
}
Expand Down
993 changes: 993 additions & 0 deletions src/POInT_IPC.cpp

Large diffs are not rendered by default.

0 comments on commit cc08f88

Please sign in to comment.