-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolved merge conflicts; however, gcc with GPU3DVERSION=1 will still…
… crash, nvidia is working correctly
- Loading branch information
Showing
113 changed files
with
18,234 additions
and
5,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# FROM ubuntu:16.04 | ||
# FROM debian:stable | ||
# FROM ubuntu:18.04 | ||
FROM nvidia/cuda:11.4.0-base-ubuntu20.04 | ||
|
||
WORKDIR /app | ||
RUN apt-get update | ||
RUN apt-get install git -y | ||
RUN git clone https://github.com/xiaoyeli/superlu_dist.git | ||
WORKDIR superlu_dist | ||
RUN git fetch | ||
RUN git pull | ||
RUN git checkout gpu_trisolve_new | ||
# RUN bash config_cleanlinux.sh # not sure why parmetis build fails, build superlu inside docker manually instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
project(ParMETIS) | ||
|
||
set(GKLIB_PATH METIS/GKlib CACHE PATH "path to GKlib") | ||
set(METIS_PATH METIS CACHE PATH "path to METIS") | ||
|
||
# Symlink ./metis to wherever metis is. This allows files to be | ||
# included from metis/libmetis/. | ||
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${METIS_PATH} metis) | ||
|
||
# Search for MPI. | ||
# GK commented this out as it seems to be creating problems | ||
# include(FindMPI) | ||
# if(NOT MPI_FOUND) | ||
# message(FATAL_ERROR "mpi is not found") | ||
# endif() | ||
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${MPI_COMPILE_FLAGS}") | ||
|
||
# Prepare libraries. | ||
if(SHARED) | ||
set(ParMETIS_LIBRARY_TYPE SHARED) | ||
set(METIS_LIBRARY_TYPE SHARED) | ||
else() | ||
set(ParMETIS_LIBRARY_TYPE STATIC) | ||
set(METIS_LIBRARY_TYPE STATIC) | ||
endif() | ||
|
||
include(${GKLIB_PATH}/GKlibSystem.cmake) | ||
|
||
# List of paths that the compiler will search for header files. | ||
# i.e., the -I equivalent | ||
include_directories(include) | ||
include_directories(${MPI_INCLUDE_PATH}) | ||
include_directories(${GKLIB_PATH}) | ||
include_directories(${METIS_PATH}/include) | ||
|
||
# List of directories that cmake will look for CMakeLists.txt | ||
add_subdirectory(${METIS_PATH}/libmetis ${CMAKE_BINARY_DIR}/libmetis) | ||
add_subdirectory(include) | ||
add_subdirectory(libparmetis) | ||
add_subdirectory(programs) | ||
|
||
# This is for testing during development and is not being distributed | ||
#add_subdirectory(test) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.