Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
7ba3a2ed
Commit
7ba3a2ed
authored
7 months ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug in USE_MAGMA and USE_CUBLAS option flags
parent
777e5ac7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/Makefile
+1
-1
1 addition, 1 deletion
build/Makefile
build/configure.sh
+13
-13
13 additions, 13 deletions
build/configure.sh
with
14 additions
and
14 deletions
build/Makefile
+
1
−
1
View file @
7ba3a2ed
...
@@ -145,4 +145,4 @@ clean:
...
@@ -145,4 +145,4 @@ clean:
wipe
:
wipe
:
rm
-rf
$(
FORTRAN_OBJS
)
$(
NP_LIBNPTM_OBJS
)
$(
NP_CLUSTER_OBJS
)
$(
NP_INCLUSION_OBJS
)
$(
NP_SPHERE_OBJS
)
$(
NP_TRAPPING_OBJS
)
$(
NP_TESTING_OBJS
)
rm
-rf
$(
FORTRAN_OBJS
)
$(
NP_LIBNPTM_OBJS
)
$(
NP_CLUSTER_OBJS
)
$(
NP_INCLUSION_OBJS
)
$(
NP_SPHERE_OBJS
)
$(
NP_TRAPPING_OBJS
)
$(
NP_TESTING_OBJS
)
rm
-rf
$(
FORTRAN_BINS
)
$(
NPTM_LIB
)
$(
NP_CLUSTER_BINS
)
$(
NP_INCLUSION_BINS
)
$(
NP_SPHERE_BINS
)
$(
NP_TRAPPING_BINS
)
$(
NP_TESTING_BINS
)
rm
-rf
$(
FORTRAN_BINS
)
libnptm/libnptm.a libnptm/libnptm.so
$(
NP_CLUSTER_BINS
)
$(
NP_INCLUSION_BINS
)
$(
NP_SPHERE_BINS
)
$(
NP_TRAPPING_BINS
)
$(
NP_TESTING_BINS
)
This diff is collapsed.
Click to expand it.
build/configure.sh
+
13
−
13
View file @
7ba3a2ed
...
@@ -120,7 +120,7 @@ function test_legacy_fortran {
...
@@ -120,7 +120,7 @@ function test_legacy_fortran {
J=I-I
J=I-I
END
END
EOF
EOF
$1
-std
=
legacy conf_test_fortran.f
-o
conf_test_fortran
>
/dev/null 2>error.log
$1
-std
=
legacy conf_test_fortran.f
-o
conf_test_fortran
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
rm
conf_test_fortran.f
rm
conf_test_fortran.f
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
...
@@ -233,7 +233,7 @@ echo -n "configure: checking for ar... "
...
@@ -233,7 +233,7 @@ echo -n "configure: checking for ar... "
if
[
"x
$AR
"
=
"x"
]
;
then
if
[
"x
$AR
"
=
"x"
]
;
then
AR
=
"ar"
AR
=
"ar"
fi
fi
$AR
--version
>
/dev/null 2>error.log
$AR
--version
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
echo
"
$AR
"
echo
"
$AR
"
...
@@ -268,7 +268,7 @@ else
...
@@ -268,7 +268,7 @@ else
J=I-I
J=I-I
END
END
EOF
EOF
$FC
-ggdb
test_fortran.f
-o
test_fortran
>
/dev/null 2>error.log
$FC
-ggdb
test_fortran.f
-o
test_fortran
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
echo
"yes"
echo
"yes"
...
@@ -316,7 +316,7 @@ int main() {
...
@@ -316,7 +316,7 @@ int main() {
return (i + j);
return (i + j);
}
}
EOF
EOF
$CXX
$CLANGFLAGS
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>error.log
$CXX
$CLANGFLAGS
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
echo
"yes"
echo
"yes"
...
@@ -326,7 +326,7 @@ else
...
@@ -326,7 +326,7 @@ else
exit
2
exit
2
fi
fi
echo
-n
"configure: checking wether
$CXX
supports -ggdb... "
echo
-n
"configure: checking wether
$CXX
supports -ggdb... "
$CXX
$CLANGFLAGS
-ggdb
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>error.log
$CXX
$CLANGFLAGS
-ggdb
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
echo
"yes"
echo
"yes"
...
@@ -357,7 +357,7 @@ int main() {
...
@@ -357,7 +357,7 @@ int main() {
return result;
return result;
}
}
EOF
EOF
$CXX
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>error.log
$CXX
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
./test_compiler
./test_compiler
...
@@ -385,7 +385,7 @@ int main() {
...
@@ -385,7 +385,7 @@ int main() {
return result;
return result;
}
}
EOF
EOF
$CXX
-fopenmp
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>error.log
$CXX
-fopenmp
test_compiler.cpp
-o
test_compiler
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
./test_compiler
./test_compiler
...
@@ -767,7 +767,7 @@ EOF
...
@@ -767,7 +767,7 @@ EOF
result
=
$?
result
=
$?
rm
conf_test_offload.cpp
rm
conf_test_offload.cpp
if
[
"x
$result
"
=
"x0"
]
;
then
if
[
"x
$result
"
=
"x0"
]
;
then
./conf_test_offload
>
/dev/null 2>error.log
./conf_test_offload
>
/dev/null 2>
>
error.log
result
=
$?
result
=
$?
rm
conf_test_offload
rm
conf_test_offload
fi
fi
...
...
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