Skip to content

Commit

Permalink
Change new libraries
Browse files Browse the repository at this point in the history
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
  • Loading branch information
arupcsedu committed May 19, 2024
1 parent cf4393a commit ddf79c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,26 +224,31 @@ def build_cpp():
logger.info(f"Generate Symbolic link: {sym_generator}")
res = subprocess.call(sym_generator, cwd=BUILD_DIR, shell=True)
check_status(res, "Generate Symbolic link")


export_cc = f"export CC=`which mpicc`"
export_cc = f'export CC=which mpicc'
logger.info(f"export cc: {export_cc}")
res = subprocess.call(export_cc, cwd=BUILD_DIR, shell=True)
check_status(res, "Export CC")
logger.info(f"export cc: : {os.getenv('CC')}")

export_cxx = f"export CXX=`which mpicxx`"
export_cxx = f'export CXX=which mpicxx'
logger.info(f"export cxx: {export_cxx}")
res = subprocess.call(export_cxx, cwd=BUILD_DIR, shell=True)
check_status(res, "Export CXX")
logger.info(f"export cxx: : {os.getenv('CXX')}")

export_mpicc = f"export MPI_CC=`which mpicc`"
export_mpicc = f'export MPI_CC=which mpicc'
logger.info(f"export mpicc: {export_mpicc}")
res = subprocess.call(export_mpicc, cwd=BUILD_DIR, shell=True)
check_status(res, "Export MPI_CC")
logger.info(f"export mpicc: : {os.getenv('MPI_CC')}")

export_mpicxx = f"export MPI_CXX=`which mpicxx`"
export_mpicxx = f'export MPI_CXX=which mpicxx'
logger.info(f"export mpicxx: {export_mpicxx}")
res = subprocess.call(export_mpicxx, cwd=BUILD_DIR, shell=True)
check_status(res, "Export MPI_CXX")
logger.info(f"export mpicxx: : {os.getenv('MPI_CXX')}")

cmake_command = f"cmake -DPYCYLON_BUILD={on_off(BUILD_PYTHON)} {win_cmake_args} " \
f"-DCMAKE_BUILD_TYPE={CPP_BUILD_MODE} " \
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/gcylon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channels:
dependencies:
- cudf=24.04
- python=3.11
- cuda-version=12.2
#- cuda-version=12.2
#- pytorch
- cmake>=3.23.1
- cython
Expand All @@ -17,7 +17,7 @@ dependencies:
- numpy
- pandas
- fsspec
- setuptools
#- setuptools
# these are for running tests only,
# they are not needed for using pygcylon or compiling it
- pytest
Expand Down

0 comments on commit ddf79c6

Please sign in to comment.