Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
cc4s
Cyclops Tensor Framework
Commits
5a8b4d7e
Commit
5a8b4d7e
authored
11 years ago
by
Edgar Solomonik
Browse files
Options
Download
Email Patches
Plain Diff
Changed how SCALAPACK version build is specified
parent
46a391fa
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
10 deletions
+16
-10
mkfiles/config.mk.bgp
mkfiles/config.mk.bgp
+2
-1
mkfiles/config.mk.bgq
mkfiles/config.mk.bgq
+2
-1
mkfiles/config.mk.linux
mkfiles/config.mk.linux
+2
-1
mkfiles/config.mk.nersc
mkfiles/config.mk.nersc
+2
-1
src/dist_tensor/cyclopstf.cxx
src/dist_tensor/cyclopstf.cxx
+1
-1
src/make/rules.mk
src/make/rules.mk
+7
-5
No files found.
mkfiles/config.mk.bgp
View file @
5a8b4d7e
...
...
@@ -24,6 +24,7 @@ DEPFLAGS = -M -MF $(DEPDIR)/$(notdir $*).Po
#DEFS := $(DEFS) -DDEBUG=1
#SCALAPACK only necessary for pgemm tests and benchmarks
#SCALA = -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack
#LIBS := $(LIBS) -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack -lgfortran
#DEFS := $(DEFS) -DUSE_SCALAPACK
This diff is collapsed.
Click to expand it.
mkfiles/config.mk.bgq
View file @
5a8b4d7e
...
...
@@ -22,5 +22,6 @@ DEPFLAGS = -M -MF $(DEPDIR)/$(notdir $*).Po
#DEFS := $(DEFS) -DDEBUG=1
#SCALAPACK only necessary for pgemm tests and benchmarks
#SCALA = -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack
#LIBS := $(LIBS) -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack -lgfortran
#DEFS := $(DEFS) -DUSE_SCALAPACK
This diff is collapsed.
Click to expand it.
mkfiles/config.mk.linux
View file @
5a8b4d7e
...
...
@@ -19,5 +19,6 @@ DEPFLAGS = -MT $@ -MD -MP -MF $(DEPDIR)/$(notdir $*).Po
#DEFS := $(DEFS) -DDEBUG=1
#SCALAPACK only necessary for pgemm tests and benchmarks
#SCALA = -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack
#LIBS := $(LIBS) -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack -lgfortran
#DEFS := $(DEFS) -DUSE_SCALAPACK
This diff is collapsed.
Click to expand it.
mkfiles/config.mk.nersc
View file @
5a8b4d7e
...
...
@@ -19,5 +19,6 @@ DEPFLAGS = -MT $@ -MD -MP -MF $(DEPDIR)/$(notdir $*).Po
#DEFS := $(DEFS) -DDEBUG=1
#SCALAPACK only necessary for pgemm tests and benchmarks
#SCALA = -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack
#LIBS := $(LIBS) -L$(HOME)/work/scalapack-2.0.2/lib -lscalapack -lgfortran
#DEFS := $(DEFS) -DUSE_SCALAPACK
This diff is collapsed.
Click to expand it.
src/dist_tensor/cyclopstf.cxx
View file @
5a8b4d7e
...
...
@@ -98,7 +98,7 @@ int tCTF<dtype>::init(MPI_Comm const global_context,
TAU_FSTART
(
CTF
);
CTF_set_context
(
global_context
);
CTF_set_main_args
(
argc
,
argv
);
CTF_mst_create
(
10000000
);
CTF_mst_create
(
10000000
00
);
initialized
=
1
;
CommData_t
*
glb_comm
=
(
CommData_t
*
)
CTF_alloc
(
sizeof
(
CommData_t
));
SET_COMM
(
global_context
,
rank
,
np
,
glb_comm
);
...
...
This diff is collapsed.
Click to expand it.
src/make/rules.mk
View file @
5a8b4d7e
all
:
$(DEFAULT_COMPONENTS)
EXECUTABLES
=
pgemm_test nonsq_pgemm_test nonsq_pgemm_bench
\
examples dft dft_3D gemm gemm_4D trace sym3
\
ccsdt_t3_to_t2 weight_4D test_suite fast_sym
\
...
...
@@ -13,6 +14,7 @@ ALL_COMPONENTS = $(EXECUTABLES) $(LIBRARIES)
$(EXECUTABLES)
:
$(LIBRARIES)
bindir
=
${top_dir}
/bin
libdir
=
${top_dir}
/lib
...
...
@@ -21,14 +23,13 @@ DEPS += ${top_dir}/.dummy $(addprefix $(DEPDIR)/,$(notdir $(patsubst %.o,%.Po,$(
_INCLUDES
=
$(INCLUDES)
-I
${top_dir}
/include
_CXXFLAGS
=
$(CXXFLAGS)
_DEFS
=
$(DEFS)
_DEFS
=
$(DEFS)
_LDFLAGS
=
$(LDFLAGS)
-L
${top_dir}
/lib
_DEPENDENCIES
=
$(DEPENDENCIES)
Makefile
${top_dir}
/config.mk
${top_dir}
/src/make/rules.mk
_LIBS
=
$(LIBS)
pgemm_test nonsq_pgemm_test nonsq_pgemm_bench
:
_LIBS
=
$(SCALA)
$(LIBS)
pgemm_test nonsq_pgemm_test nonsq_pgemm_bench
:
_DEFS
+=
-DUSE_SCALAPACK
CXXCOMPILE
=
$(CXX)
$(_DEFS)
$(_INCLUDES)
$(_CPPFLAGS)
$(_CXXFLAGS)
CXXCOMPILEDEPS
=
$(CXXCOMPILE)
$(DEPFLAGS)
...
...
@@ -55,6 +56,7 @@ $(foreach d, $(patsubst -L%,%,$(filter -L%,$(1))),\
FORCE
:
$(ALL_COMPONENTS)
:
echo
$(CXXCOMPILEDEPS)
;
@
for
dir
in
$(SUBDIRS)
$
(
$@
_SUBDIRS
)
;
do
\
echo
"Making
$@
in
$$
dir"
;
\
(
cd
$$
dir
&&
$(MAKE)
$@
)
;
\
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment