Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
euroexa_GaiaGsrParSim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabio Roberto Vitello
euroexa_GaiaGsrParSim
Commits
61d22cb1
Commit
61d22cb1
authored
4 years ago
by
Fabio Roberto Vitello
Browse files
Options
Downloads
Patches
Plain Diff
updated Makefile
parent
12e74d67
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+16
-66
16 additions, 66 deletions
Makefile
aprod.c
+0
-1
0 additions, 1 deletion
aprod.c
util.c
+1
-1
1 addition, 1 deletion
util.c
with
17 additions
and
68 deletions
Makefile
+
16
−
66
View file @
61d22cb1
# Gaia GSRPar Makefile
# Gaia GSRPar Makefile
COMPILER
=
/opt/ompss/bin/mcc
COMPILER
=
mpiicpc
-qopenmp
-DOMP
##COMPILER = /opt/openmpi_icc/bin/mpic++
COMPILERCPP
=
mpiicpc
-qopenmp
-DOMP
COMPILERCPP
=
/opt/ompss/bin/mcxx
--ompss
-DOMP
##COMPILERCPP = /opt/openmpi_icc/bin/mpic++
CC
=
$(
COMPILER
CPP
)
CC
=
$(
COMPILER
)
CPP
=
$(
COMPILERCPP
)
CPP
=
$(
COMPILERCPP
)
CFITSIOLIB
=
/opt/c
fitsio3_1_0
/lib
CFITSIOLIB
=
/opt/c
luster/cfitsio/intel/2017.1
/lib
/
GAIAINC
=
/u/ubecciani/EuroExa/CoreApp7.2/src
GAIAINC
=
/home-volume/ube/Gaia/ParallelCodeV7/src7.2
GAIAGSR
=
aprod.o lsqrblas.o lsqr.o solvergaia.o util.o
GAIAGSRSIM
=
aprod.o lsqrblas.o lsqr.o solvergaiaSim.o util.o
GAIAGSRSIM
=
aprod.o lsqrblas.o lsqr.o solvergaiaSim.o util.o
GAIAGSRFits2Bin
=
fits2bin.o util.o lsqrblas.o
GAIAGSRBin2Fits
=
bin2fits.o
GAIAGSRBin2Reduced
=
bin2reduced.o util.o lsqrblas.o
GAIAGSRCkEmptyCols
=
util.o ckemptycols.o lsqrblas.o
GAIAGSRBin2Asc
=
bin2asc.o
GAIAGSRChTask
=
changeTask.o
GAIAGSRRepairTask
=
ripristino.o
MEMREQ
=
memRequest.o
MEMREQ
=
memRequest.o
##INCLUDE = -I$(GAIAINC) -I/opt/local/include -I/opt/local/include/mpich2 -I/opt/cluster/cfitsio/intel/2017.1/include/
INCLUDE
=
-I
$(
GAIAINC
)
-I
/opt/
local/include
-I
/opt/openmpi_icc/include/
-I
/opt/cfitsio3_1_0/include/
-I
/opt/openmpi/include
-pthread
INCLUDE
=
-I
$(
GAIAINC
)
-I
/opt/
cluster/cfitsio/intel/2017.1/include/
#INCLUDE = -I$(GAIAINC)
#INCLUDE = -I$(GAIAINC)
#CFLAGS= $(INCLUDE) -std=c99
#CFLAGS= $(INCLUDE) -std=c99
CPPFLAGS
=
$(
INCLUDE
)
-g
-fsanitize
=
address
-mllvm
-asan-stack
#CPPFLAGS= $(INCLUDE) -g -fsanitize=address -mllvm -asan-stack
#CPPFLAGS= $(INCLUDE) -lirc -limf -lsvml
CPPFLAGS
=
$(
INCLUDE
)
CPPFLAGS
=
$(
INCLUDE
)
LIB
=
-pthread
-L
/usr/local/pbspro/lib
-Wl
,-rpath
-Wl
,/usr/local/pbspro/lib
-Wl
,-rpath
-Wl
,/opt/openmpi/lib
-Wl
,--enable-new-dtags
-L
/opt/openmpi/lib
-lmpi
-L
$(
CFITSIOLIB
)
-lcfitsio
-lm
LIB
=
-L
$(
CFITSIOLIB
)
-lcfitsio
-lm
all
:
GaiaGsrParSim
####all: GaiaGsrPar MemReq GaiaGsrParSim GaiaFits2Bin GaiaBin2Fits GaiaBin2Reduced GaiaCkEmptyCols GaiaBin2Asc GaiaChTask GaiaRepTask
all
:
MemReq GaiaGsrParSim
###all: GaiaGsrPar MemReq GaiaGsrParTest GaiaFits2Bin GaiaBin2Fits GaiaBin2Reduced
###all: GaiaGsrPar MemReq GaiaGsrParTest GaiaFits2Bin GaiaBin2Fits GaiaBin2Reduced
ckemptycols.o
:
ckemptycols.cpp
$(
CPP
)
$(
CPPFLAGS
)
-c
ckemptycols.cpp
bin2fits.o
:
bin2fits.cpp
$(
CPP
)
$(
CPPFLAGS
)
-c
bin2fits.cpp
bin2asc.o
:
bin2asc.cpp
$(
CPP
)
$(
CPPFLAGS
)
-c
bin2asc.cpp
GaiaGsrPar
:
$(GAIAGSR)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaGsrPar
$(
GAIAGSR
)
$(
INCLUDE
)
$(
LIB
)
MemReq
:
$(MEMREQ)
$(
CPP
)
$(
CPPFLAGS
)
-o
MemReq
$(
MEMREQ
)
$(
INCLUDE
)
$(
LIB
)
GaiaGsrParSim
:
$(GAIAGSRSIM)
GaiaGsrParSim
:
$(GAIAGSRSIM)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaGsrParSim
$(
GAIAGSRSIM
)
$(
INCLUDE
)
$(
LIB
)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaGsrParSim
$(
GAIAGSRSIM
)
$(
INCLUDE
)
$(
LIB
)
GaiaFits2Bin
:
$(GAIAGSRFits2Bin)
MemReq
:
$(MEMREQ)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaFits2Bin
$(
GAIAGSRFits2Bin
)
$(
INCLUDE
)
$(
LIB
)
$(
CPP
)
$(
CPPFLAGS
)
-o
MemReq
$(
MEMREQ
)
$(
INCLUDE
)
$(
LIB
)
GaiaBin2Fits
:
$(GAIAGSRBin2Fits)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaBin2Fits
$(
GAIAGSRBin2Fits
)
$(
INCLUDE
)
$(
LIB
)
GaiaBin2Reduced
:
$(GAIAGSRBin2Reduced)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaBin2Reduced
$(
GAIAGSRBin2Reduced
)
$(
INCLUDE
)
$(
LIB
)
GaiaBin2Asc
:
$(GAIAGSRBin2Asc)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaBin2Asc
$(
GAIAGSRBin2Asc
)
$(
INCLUDE
)
$(
LIB
)
GaiaCkEmptyCols
:
$(GAIAGSRCkEmptyCols)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaCkEmptyCols
$(
GAIAGSRCkEmptyCols
)
$(
LIB
)
GaiaChTask
:
$(GAIAGSRChTask)
$(
CPP
)
-o
GaiaChTask
$(
GAIAGSRChTask
)
$(
LIB
)
GaiaRepTask
:
$(GAIAGSRRepairTask)
$(
CPP
)
$(
CPPFLAGS
)
-o
GaiaRepairTask
$(
GAIAGSRRepairTask
)
$(
LIB
)
clean
:
clean
:
rm
-f
*
.o core
rm
-f
*
.o core
This diff is collapsed.
Click to expand it.
aprod.c
+
0
−
1
View file @
61d22cb1
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
#include
"util.h"
#include
"util.h"
// NOTA: vedere come e cosa cambia aumentando i valori nAstroPSolved, nAttP e nInstrConst facendoli non usuali ma molto grossi
// NOTA: vedere come e cosa cambia aumentando i valori nAstroPSolved, nAttP e nInstrConst facendoli non usuali ma molto grossi
void
aprod
(
int
mode
,
long
int
m
,
long
int
n
,
double
*
vVect
,
double
*
knownTerms
,
void
aprod
(
int
mode
,
long
int
m
,
long
int
n
,
double
*
vVect
,
double
*
knownTerms
,
double
*
systemMatrix
,
long
int
*
matrixIndex
,
int
*
instrCol
,
int
*
instrConstrIlung
,
struct
comData
comlsqr
,
time_t
*
ompSec
)
double
*
systemMatrix
,
long
int
*
matrixIndex
,
int
*
instrCol
,
int
*
instrConstrIlung
,
struct
comData
comlsqr
,
time_t
*
ompSec
)
{
{
...
...
This diff is collapsed.
Click to expand it.
util.c
+
1
−
1
View file @
61d22cb1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment