Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TRACY3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PA
Optics
TRACY3
Commits
60f2e082
Commit
60f2e082
authored
13 years ago
by
nadolski
Browse files
Options
Downloads
Patches
Plain Diff
Bug on ISEI cannot find mpi.h library Force it
parent
f85fd377
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tracy/configure.ac
+9
-5
9 additions, 5 deletions
tracy/configure.ac
with
9 additions
and
5 deletions
tracy/configure.ac
+
9
−
5
View file @
60f2e082
...
@@ -57,7 +57,7 @@ AC_ARG_ENABLE([mpi_exec],
...
@@ -57,7 +57,7 @@ AC_ARG_ENABLE([mpi_exec],
[mpi_exec=${enableval}], [mpi_exec=no])
[mpi_exec=${enableval}], [mpi_exec=no])
# Checks for libraries.
# Checks for libraries.
#
AC_SEARCH_LIBS([mpi_init], [mpichcxx], [have_pthreads=yes])
AC_SEARCH_LIBS([mpi_init], [mpichcxx], [have_pthreads=yes])
# Force malloc(0) to be NULL pointer
# Force malloc(0) to be NULL pointer
AC_FUNC_MALLOC
AC_FUNC_MALLOC
...
@@ -68,10 +68,10 @@ AC_FUNC_MALLOC
...
@@ -68,10 +68,10 @@ AC_FUNC_MALLOC
# Checks for header files.
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h])
AC_CHECK_HEADERS([stdlib.h string.h])
# If MPI compitation asked, check whether header is available
# If MPI compitation asked, check whether header is available
if test "x${mpi_exec}" = xyes; then
if test "x${mpi_exec}" = xyes; then
have_mpi=no
have_mpi=no
# seems not working on the Cluser WHY
AC_CHECK_HEADERS([mpi.h], [have_mpi=yes], [have_mpi=no])
AC_CHECK_HEADERS([mpi.h], [have_mpi=yes], [have_mpi=no])
if test "x${have_mpi}" = xno; then
if test "x${have_mpi}" = xno; then
...
@@ -89,6 +89,9 @@ if test "x${mpi_exec}" = xyes; then
...
@@ -89,6 +89,9 @@ if test "x${mpi_exec}" = xyes; then
-----------------------------------------])
-----------------------------------------])
AC_DEFINE([MPI_EXEC], 1, [mpi executation enabled])
AC_DEFINE([MPI_EXEC], 1, [mpi executation enabled])
fi
fi
# BUG sur ISEI pas possible trouver mpi.h
AC_DEFINE([MPI_EXEC], 1, [mpi executation enabled])
have_mpi=yes
fi
fi
# Configure supported platforms
# Configure supported platforms
...
@@ -108,10 +111,11 @@ case $target_os in
...
@@ -108,10 +111,11 @@ case $target_os in
F77=mpiifort
F77=mpiifort
CXX=mpiicpc
CXX=mpiicpc
else
else
AC_MSG_NOTICE([Intel compilation for $HOSTNAME])
# no mpi
AC_MSG_NOTICE([Intel compilation for $HOSTNAME])
CC=icc
CC=icc
F77=ifort
F77=ifort
CXX=icpc
CXX=icpc
fi
fi
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