forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to make standalone run also from within a CMSSW area #36
Merged
slava77
merged 8 commits into
CMSSW_14_1_0_pre3_LST_X_LSTCore_realfiles_batch1_devel
from
CMSSW_14_1_0_pre3_LST_X_LSTCore_realfiles_runStandaloneWithinCMSSW
Jun 14, 2024
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
87dde1e
Changes to make standalone run also from within a CMSSW area
VourMa d1286b0
Removal of LST_BASE and redudant setup lines
VourMa f529d3f
Update standalone README.md with up-to-date instructions
VourMa 1d4b2aa
Comment out the CVMFS-less setup (for now)
VourMa 96ec1b8
Delete deprecated code checks and format from README
VourMa 2e0c608
Include cloning of LST data files in README
VourMa 79fc142
Small updates to directories in the README
VourMa 3b0dbda
Fix in README for fetching from correct repo
VourMa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,15 @@ source setup.sh # if on UCSD or Cornell | |
source setup_hpg.sh # if on Florida | ||
``` | ||
|
||
Currently, the data files for LST need to be copied manually. This is done by running: | ||
|
||
```bash | ||
mkdir -p $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoTracker/LSTCore/ | ||
cd $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoTracker/LSTCore/ | ||
git clone [email protected]:cms-data/RecoTracker-LSTCore.git data | ||
cd - | ||
``` | ||
|
||
### Setting up LST outside of CMSSW | ||
|
||
For this setup, dependencies are still provided from CMSSW through CVMFS (see below for an even more independent setup) but no CMSSW area is setup. This is done by running the following commands. | ||
|
@@ -53,6 +62,12 @@ source setup.sh # if on UCSD or Cornell | |
source setup_hpg.sh # if on Florida | ||
``` | ||
|
||
Currently, the data files for LST need to be copied manually. This is done by running: | ||
|
||
```bash | ||
git clone [email protected]:cms-data/RecoTracker-LSTCore.git data | ||
``` | ||
|
||
<!--- | ||
#### Running LST in a CVMFS-less setup | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably worth mentioning where this
data
directory should reside. It's not clear whether it's instandalone
orLSTCore
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, and in fact I had the directory wrong in one case. I now fixed that and added an explicit mention of the directory where the data files should end up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the
setup.sh
, after it's called the$CMSSW_SEARCH_PATH
will already be set.So, the same
git clone [email protected]:cms-data/RecoTracker-LSTCore.git $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoTracker/LSTCore/data
should work (note that cd in and out of the target directory is not really necessary)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, nevermind; that search path will not include the local CMSSW checkout