Comments (5)
Can I suggest something akin to jackolney/clustr? This will now work easily for others and wraps around didehpc
(just noticed the name change, nice)
clustr
allows:
- Automatic login from
~/.smbcredentials
(if present) - Simplified selection of cluster: "MRC" or "DIDE" vs.
fi--didemrchnb
orfi--dideclusthn
- All packages named in one vector e.g.
packages = c("devtools", "hadley/ggplot2")
and they will be teased apart into those required from CRAN / GitHub - All done with one function call to
login
from didehpc.
Hmm, not sure.
- installation of the core tools should now be as simple as:
source("https://dide-tools.github.io/didehpc/install")
(don't run that unless you want to upgrade, in which case check the porting guide. Particularly, I cannot recommenddevtools::install_github
because of the mess that it regularly leaves windows machines in (I see you're using it within yourlogin
function - I like the idea of cluster name aliasing - I'll add that to the main package. The headnode names are used elsewhere though so I'll need to keep them as an option
- after things are generally working the first time,
web_login()
should not be explicitly needed. The new version also attempts to detect if it can avoid re-requesting a password - The global config options I am now (finally) officially setting via
.Rprofile
The package specification thing I explicitly moved away from - I'd used this previously and it eventually falls short, not least because determining the package name from a github repo is depressingly not always straightforward
from didehpc.
I'm thinking that an ask
based interface might be nice, but it involves writing to people's .Rprofile - that could be avoided by using startup
but then we are building a bit of a chain of dependencies.
from didehpc.
+1 for the ask
based interface - never really seen this type of interface used in R. Only concern would be whether responses can be scripted / automated.
from didehpc.
That's the issue; they can't really. I need this information to end up in people's .Rprofile files and in the script they're writing but in general don't want to mess around with these too much. Some things like the username stuff will apply all the time, some like cluster will apply most of the time, and others (workers, timeouts, progress bars, etc, etc) will be very project specific
from didehpc.
Related Issues (20)
- Failure to unsubmit jobs after potential timeout HOT 2
- Should delete drive mappings when finishing job HOT 3
- Add support for R 3.6.0 HOT 1
- task_status_dide_compare doesn't work for tasks submitted by workers
- Lookup available R versions from hpc-portal HOT 1
- Add section to docs about the importance of relative paths
- Add example of pinning to a branch in provisioning
- use_workers = TRUE error: invalid 'path' argument HOT 1
- R 4.0.0+ requires Rtools 4.0 HOT 1
- use_workers = TRUE error: Error in obj$rrq$queue_submit(task_ids) : attempt to apply non-function
- Error in if (as.POSIXct(t_drat) > as.POSIXct(t_lib)) occuring when returning to created context
- Allow submission of rrq-using job with different resource requirements
- cache credentials once per session
- Allow not waiting for workers to come online
- "verylazy" package installation should not tell pkgdepends about installed packages
- Fix upgrading packages from local sources which reference remotes
- Better sanitisation of remotes
- submit workers from non-root directory sends impossible workers
- `reconcile_compare` incorrectly updating jobs HOT 2
- `check_resources` update for wpia cluster? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from didehpc.