Skip to content

Commit

Permalink
Merge pull request #766 from CHIP-SPV/fix-ci
Browse files Browse the repository at this point in the history
adjust modules due to NFS going down
  • Loading branch information
pvelesko authored Feb 1, 2024
2 parents 89e89c2 + dd0ecb4 commit 6528000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run_cmd(cmd):
# setup module load line
modules = ""
if args.modules == "on":
modules = ". /etc/profile.d/modules.sh && export MODULEPATH=/space/modulefiles && module load "
modules = ". /etc/profile.d/modules.sh && export MODULEPATH=/home/pvelesko/modulefiles && module load "
if args.backend == "opencl" and args.device_type == "cpu":
modules += "opencl/cpu"
elif args.backend == "opencl" and args.device_type == "igpu":
Expand Down
5 changes: 1 addition & 4 deletions scripts/unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,14 @@ echo "timeout = ${timeout}"

# source /opt/intel/oneapi/setvars.sh intel64 &> /dev/null
source /etc/profile.d/modules.sh &> /dev/null
export MODULEPATH=$MODULEPATH:/home/pvelesko/modulefiles:/opt/intel/oneapi/modulefiles:/opt/modulefiles
export IGC_EnableDPEmulation=1
export OverrideDefaultFP64Settings=1
export CHIP_LOGLEVEL=err
export POCL_KERNEL_CACHE=0

# Use OpenCL for building/test discovery to prevent Level Zero from being used in multi-thread/multi-process environment
module use ~/modulefiles
module use /space/modulefiles
module load oneapi/mkl/2023.2.3 oneapi/compiler/2023.2.3 $CLANG opencl/dgpu
which icpx
module load $CLANG opencl/dgpu

output=$(clinfo -l 2>&1 | grep "Platform #0")
echo $output
Expand Down

0 comments on commit 6528000

Please sign in to comment.