37.1 Installing and Removing Packages. Assuming a package is available in the file image-1.0.0.tar.gz it can be installed from the Octave prompt with the command. There are plenty of extension packages one can install for octave by pkg install however this is not possible within the current version of Octave in Spack: pkg install specfun-1.1.0.tar.gz mkoctfile: stripping disabled on this platform make: *** [ellipj.oct] Error 1 mkoctfile -s ellipj.cc Spack compiler must be run from Spack! Input 'SPACK_PREFIX' is missing. Pkg: error running `make' for the specfun package. I suppose octave keeps compilers used during its build for later usage and then fails because Spack's compiler wrappers can't be used outside of spack. Any ideas how to fix it? : per 's comment above, I think it would be great if octave were extendable like R and python. I also think ideally you could install octave extensions manually too -- if you want to. A lot of things make this hard by referring to the compilers they were built with and assuming they can be run after installation. Python, for instance, does this. The tricky part is that you generally want the package to use Spack's compiler wrappers within a spack build of an extension (so that RPATHs are added), but you want to allow users to use the non-wrapped build compilers outside spack. We get around this for MPI by patching its compiler wrappers and leveraging the fact that all the MPI implementations also let you inject a wrapper (look at OMPI_CC) in OpenMPI. How to change security settings on mac laptop. I'm not sure how you'd force this behavior from Octave. I started fiddling with octave to make it extendable and added a single package. I can already install from bash and spack evn: $ spack env octave-specfun bash bash-3.2$ octave --texi-macros-file=/dev/null --eval 'pkg install /Users/davydden/Downloads/specfun-1.1.0.tar.gz' but i still have some issues doing it within the package.py. I guess i will open a WIP PR for that. ![]() Installing extensions manually -- so far i could not figure it out how to do this. Centos ldap config. So i would say for now the best bet is to make octave extendable. By registering you become a member of the CBS Interactive family of sites and you have read and agree to the,. You agree to receive updates, alerts and promotions from CBS and that CBS may share information about you with our marketing partners so that they may contact you by email or otherwise about their products or services. You will also receive a complimentary subscription to the ZDNet's Tech Update Today and ZDNet Announcement newsletters. You may unsubscribe from these newsletters at any time. ACCEPT & CLOSE. Choose a right template for ecomap as per individual needs and go ahead to make elegant ecomap shortly. Create an ecomap.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |