summaryrefslogtreecommitdiff
path: root/setup_environment
AgeCommit message (Collapse)Author
2025-07-04i_love_zsh: make setup script universal for other shells (#122)WilliamMTK
* i_love_zsh: make setup script universal for other shells * Update setup_environment Co-authored-by: Copilot <[email protected]> * Update setup_environment Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
2025-02-11Update setup_environmentTim Rogers
Throwing an error on updating CUDA is a bit much. Let's warn them
2025-02-11Update setup_environmentTim Rogers
Sims should work with latest CUDA
2024-12-11Add SST integration into gpgpusim (#44)WilliamMTK
* Add accommodations to run gpgpusim with SST simulation framework through balar * Output setup_environment options when sourcing * Add SST directive check when creating sim thread * Add sst side test for jenkins * sst-integration: update Jenkinsfile with offical sst-elements repo and fix bugs in pipeline script * sst-integration: direct jenkins to rebuild gpgpusim before testing for sst * sst-integration: fix bugs in sst repos config * sst-integration: let Jenkins rebuilds simulator Since the simulator needs to be configured with both normal mode and sst mode, need to rebuild make target to clean prior runs. * sst-integration: Update Jenkinsfile to source env vars when running balar test * sst-integration: refactor code to remove __SST__ flag * sst-integration: fix a bug that init cluster twice for sst * sst-integration: fix a bug of not sending mem packets to SST * sst-integration: remove sst flags from makefiles and setup_env * sst-integration: add comments to SST changes * sst-integration: remove rebuilding simulator in jenkins when testing for SST * sst-integration: revert simulator build script * Add a function to support querying function argument info for SST * sst-integration: add version detection for vanadis binary * Automated Format * add version detection support for gcc 10+ * sst-integration: add cudaMallocHost for SST * sst-integration: fix a compilation bug * sst-integration: add sst balar unittest CI * sst-integration: specify GPU_ARCH for CI test * sst-integration: use bash for github actions * sst-integration: use https links for sst repos * sst-integration: add SST dependencies to CI config * sst-integration: remove sudo * sst-integration: default to yes for apt install * sst-integration: add manual trigger for github action * sst-integration: remove wrong on event * sst-integration: limit CPU usage for compilation * sst-integration: fix wrong path * sst-integration: use personal repo for testing * sst-integration: remove sst-core source in CI to free space * sst-integration: SST_Cycle use print stats with stream id * Automated Format * sst-integration: check for diskspace and try to clean it * sst-integration: move out of docker image * sst-integration: testing for ci path * sst-integration: fix syntax * sst-integration: pass env vars * sst-integration: set env properly * sst-integration: merge LLVM build and test into same job * sst-integration: fix step order * sst-integration: checkout correct branch for env-setup * sst-integration: remove resourcing gpu apps * sst-integration: revert back to docker github action * sst-integration: enable debug trace for sst testing * sst-integration: resourcing gpu app for env vars * sst-integration: use GPUAPPS_ROOT for path for gpu app * sst-integration: use GPUAPPS_ROOT for path for gpu app * sst-integration: enable parallel ci tests and fix not returning with cudaMallocHostSST * sst-integration: using debug flag for CI run * sst-integration: revert debug ci run * sst-integration: CI skips cuda sdk download and launch multiple jobs * sst-integration: reenable parallel tests * sst-integration: reduce concurrent test thread count * sst-integration: skip long test for github runner * sst-integration: try running CI with single core * sst-integrtion: add callback to SST to check thread sync is done in SST_Cycle() * sst-integration: ignore lookup if already found and add callbacks to SST * Automated Format * sst-integration: add support for indirect texture access * Automated Format * sste-integration: fix up for PR * Automated Format --------- Co-authored-by: purdue-jenkins <[email protected]>
2024-10-07we have gcc-11 now. Check version for more than 2 digits. (#79)JRPan
* we have gcc-11 now. Check version for more than 2 digits. * version detection as well - And support c++ 11 by default
2023-05-19thowing an error flag on failuretgrogers
2023-02-10Taking out a comment that is no longer relevant and truncating the commit ↵tgrogers
hash to be more sane
2021-10-17AccelWattch dev IntegrationVijayKandiah
2020-06-10CUDA 11 supporttgrogers
2020-04-07Merge remote-tracking branch 'localpub/dev' into devtgrogers
2019-11-11Enabled CUDA 10. Added implementations for __cudaPushCallConfiguration and ↵bftf
__cudaPopCallConfiguration, neither of which are documented in the CUDA API but they preceed any cudaLaunchKernel() call and push the call configuration on a stack which is then popped when cudaLaunchKernel() is called. Currently the max stack size is 1, an assert will be triggered when this is violated.
2019-08-28Fixing the screwy way that setup env messes with the cd stacktgrogers
2019-06-10Upgrading the tests to regress CUDA 10 and completely dropping GTX480 - we ↵tgrogers
should no longer care about this card. We will now regress TITANV with PTXPlus instead
2019-06-09A bunch of boilerbplate to get 10.1 to compile. Still does not yet run. The ↵tgrogers
way CUDA calls kerenels (even on old code) has changed.
2018-11-16changes for cuda 4.2 supportDeval Shah
2018-11-09required environment variablesDeval Shah
2018-10-11Merging the latest dev from the public branchtgrogers
2018-06-30oops - you should set this if it does not exist, not the other way around...tgrogers
2018-06-30Adding in a check to not blow away the PTXAS variable if you already had it settgrogers
2018-06-30Cleaning up the setup env message a bit and having the simulator properly ↵tgrogers
dump to stderr on error
2018-06-30Preventing bad git commit numbers from printing when you run setup_env from ↵tgrogers
a dir that is not the gpgpusim_distr dir
2018-06-30changing the flow s.t. you cannot compile the simulator with a different ↵tgrogers
version of CUDA from the app.
2018-06-29Fixing the PTXPLUS + new CUDA execution case.tgrogers
2018-06-29Allowing modern GPU configrations to properly run PTXPLUS.tgrogers
There are several problems with this: 1) To get proper occupancy, based on register file usage, you must querry ptxas with the sm version that corresponds to the register usage in the config file. To enable this, a new config option has been added that determines what sm version you pass to ptxas to compute reg-usage. This configuration option is always required in the gpgpusim.config file 2) If you are running PTXPLUS with a modern card (i.e. volta/pascal), you need ptxas from CUDA 9.1. However since PTXPLUS only supports sm_13 - you need a version of CUDA where cudaobjectdump supports sm_1x. This ended at CUDA 5 - and PTXPLUS requires CUDA 4.2. Therefore, to run PTXPLUS on a modern card, you need CUDA 4.2 + modern CUDA installed. To fascilitate this, a new envronment varaible is added and the setup envrionment script prints an appropraite warning if you are using a newer CUDA. We have tried to make this as fail-proof as possible - and die appropraitely when something is wrong.
2018-04-11This build status line was broken when there were cached filestgrogers
2018-03-25Merging with updates in the public repotgrogers
2018-03-20Adding in some setupscript stuff to properly print the build version and get ↵tgrogers
rid of this not fully tested warning
2018-02-22run all the configs, do 9.1 on the sdk and stop the setup environment from ↵tgrogers
complaining about cuda version
2017-12-12support for 9.1tgrogers
2017-07-12Getting jenkins to work by changing the error on shell type to a warning. ↵tgrogers
The way we detect the shell is not fool-proof and fails for jenkins, although we are using bash
2016-10-28support for CUDA 8.0 PTXAhmed ElTantawy
2016-05-12updating Makefile and setup environment for 7.5 supportAhmed ElTantawy
2015-03-05update setup_environment to reflect the levels of support of CUDA versionsAhmed ElTantawy
2015-03-04initial support for CUDA 5.0, 5.5, 6.0 to get template from SDK runningAhmed ElTantawy
2014-08-14Review: 76001: Setup environment quick fix for ubuntuDongdong Li
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16725]
2014-08-14Review 69001:Dongdong Li
More support for setup environment 1. More general solution to get CC_VERSION, work for Linux(OpenSUSE, Ubuntu, Debian) and OSX 2. Add zsh support, change == to = to make it compatible with bash, zsh and sh 3. Fix a bug in Makefile [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16640]
2014-08-14Adding a wildcard to the end of the GCC sed string parser to handle gcc ↵Tim Rogers
prints that print more information about their version numbers Review ID: 59001. lgtm: 1 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16549]
2014-08-14 Changing the make flow so all the generated files, both object and code ↵Tim Rogers
generated go in a directory independent of the source directory [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16503]
2014-08-14Fixing a bug that was trashing the LD_LIBRARY_PATH if GPGPUSIM_ROOT was not ↵Tim Rogers
the first entry in the list [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15422]
2014-08-14simplify bash checkTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15169]
2014-08-14verify user is using bashTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15168]
2014-08-14enable CUBIN parsing on Mac OS XTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14882]
2014-08-14Updating setup_environment and Makefile to use gpuwattch instead of mcpatTayler Hetherington
(src/mcpat -> src/gpuwattch) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14799]
2014-08-14a bit more cleaningTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14797]
2014-08-14clean up setup_environmentTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14796]
2014-08-14Merging Power model into FermiTayler Hetherington
//depot/gpgpu_sim_research/fermi_power/distribution/... to //depot/gpgpu_sim_research/fermi/distribution/... [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14723]
2014-08-14testing submission policy checking script; enable CUDA 4.2 for testingTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13576]
2014-08-14Fixing Tor's clean up. Seems like we have 2 version string kicking around ↵Tim Rogers
One that looks like "3010" cause we have to use this value in a C macro. And one that looks like "3.1" cause that makes more sense as a stand alone string. Removing the reference to "3.1" in the simulator code build since it just make things confusing. The benchmarks still use the "3.1" style string but these two flows are reasonably seperate. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13574]
2014-08-14cleaning Tim's edits up so can work on MacOS and avoid duplicating effort ↵Tor Aamodt
done by version_detection.mk [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13573]
2014-08-14Setting the path earlier so nvcc is the right version when we fill in the ↵Tim Rogers
build env vars. This is useful if you are building one version of the sdk, change your CUDA_INSTALL_PATH then source setup_environment again. Now things will be properly setup for the latter SDK after your source [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13572]