Comments (8)
What's in /tmp that requires a rebuild?
from cutest.jl.
/tmp
gets wiped when you reboot, and
$ cat cutestenv.jl
PATH = get(ENV, "PATH", "")
MANPATH = get(ENV, "MANPATH", "")
LD_LIBRARY_PATH = get(ENV, "LD_LIBRARY_PATH", "")
ENV["ARCHDEFS"] = "/tmp/tmplJ4BFj/archdefs"
ENV["CUTEST"] = "/tmp/tmplJ4BFj/cutest"
ENV["SIFDECODE"] = "/tmp/tmplJ4BFj/sifdecode"
ENV["MASTSIF"] = "/tmp/tmplJ4BFj/mastsif"
ENV["MYARCH"] = "pc64.lnx.gfo"
ENV["PATH"] = "/tmp/tmplJ4BFj/cutest/bin:/tmp/tmplJ4BFj/sifdecode/bin:$PATH"
ENV["MANPATH"] = "/tmp/tmplJ4BFj/cutest/man:/tmp/tmplJ4BFj/sifdecode/man:$MANPATH"
ENV["LD_LIBRARY_PATH"] = "/tmp/tmplJ4BFj/lib:$LD_LIBRARY_PATH"
from cutest.jl.
Perhaps this is an unintentional consequence of the build script writing its log files to a directory created by mktempdir
? I naively assumed this was intentional.
from cutest.jl.
Really not intentional. Looks like a result of this line.
from cutest.jl.
I'll fix. I'm also curious about this line. Why delete the file if everything is already installed?
from cutest.jl.
Really not intentional. Looks like a result of this line.
Ah I guess I naively thought cd
would "come back" when the function exits.
I'm also curious about this line. Why delete the file if everything is already installed?
The idea is that if validate_cutest()
returns successfully, a pre-existing installation of CUTEst has been found (outside of Julia, e.g., with Homebrew). In that case cutestenv.jl
should be removed because the environment variables in it may not point to the location of the working installation.
from cutest.jl.
I naively thought cd would "come back" when the function exits.
It does if you use the do-block form.
In that case cutestenv.jl should be removed because the environment variables in it may not point to the location of the working installation.
Ah, thanks for explaining.
See #104.
from cutest.jl.
Closed by #104
from cutest.jl.
Related Issues (20)
- ERROR: ArgumentError: NULL library handle HOT 15
- Issue with -lSystem HOT 3
- `jac_coord!` memory allocation HOT 2
- Try syntax `CUTEstModel("...") do nlp` to allow automatic closing of nlp
- Check eval counters against those from CUTEst
- Unit test fails for HS14
- Improve `lin_cons` computation
- Use `increment!` and `decrement!` functions HOT 3
- change license to MIT?
- Mislcassified problems HOT 4
- Remove allocations in CUTEst.jl HOT 2
- Fix the documentation
- gfortran error HOT 10
- KeyError: key "MASTSIF" not found HOT 7
- How to specify the size of the test problem? HOT 2
- NLPModels computes gradient with elements out of order HOT 9
- jth_hess_coord! seems not implemented HOT 2
- CUTEst.jl and AutoDiff -- compute high-order derivatives HOT 10
- Function "NONCVXUN" HOT 5
- Make the package loadable in Windows even though it is not usable HOT 2
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 cutest.jl.