Hi Mark Thanks for the setup instructions for Raspbian. Perhaps you could insert these instructions (below) at the following section of the Building ASCEND page, for future reference? http://ascend4.org/Building_ASCEND#Raspbian_.28Raspberry_Pi.29
I don't have experience with gnewsense (other than knowing generally what it is). Anything difficult about building there? On 06/03/16 17:45, [email protected] wrote: > Hi there, > I set up Ascend under Ubuntu, gnewsense (http://gnewsense.org/) and > Raspbian. I'm trying to give you a general installation process for > Ascend in the following lines...when the installation doesn't work for > you then please read the output in the terminal and try to find out > which packages are missing or what the problem is. This link is of > course also very important: http://ascend4.org/Building_ASCEND > > Make sure you have the following packages installed: > > TERMINAL: > sudo apt-get install subversion gcc g++ gfortran flex bison scons swig > doxygen > sudo apt-get install tcl tcl-dev tk tk-dev tk-table graphviz > graphviz-dev > sudo apt-get install python2.7 libgtk2.0-0 python-gtk2 python-matplotlib > python-numpy ipython > sudo apt-get install python-dev libsundials-serial-dev > sudo apt-get install liblapack-dev libblas-dev coinor-libipopt-dev > sudo apt-get install libcunit1-dev libmumps-seq-dev lyx > > Then try to install via the subversion repository: > > TERMINAL (location home/USERNAME/): > svn co http://svn.ascend4.org/trunk ascend > > scons $WITH_GRAPHVIZ = /usr/lib/graphviz WITH_DOC=0 > > scons install > > I installed Ascend without the documentation system because I received > the following message: > > "lyx too old. Install from sources. libqt4-core and libqt4-dev needed. > Error output when trying to install ascend: > LyX: Done! > Warning: 474: Format not supported. > Warning: Quiting. > Error: Conversion script failed" > ---------------------------------------- > ~/ascend/doc/book.lyx is from a different version of LyX, but the > lyx2lyx script failed to convert it. > scons: *** [doc/book.tex] Error 1 > scons: building terminated because of errors. > > This could be a task for bug squashing or improving the installation > process. To make ascend work with lyx again (this of course also depends > on the linux distribution you're using and what version of lyx gets > installed with your distribution. I had the problem with a raspbian > distribution last year. Is it still the case that lyx is too old when > you try to install it without turning the documentation off? (neglect > WITH_DOC=0)) The concept here was that when releasing ASCEND, we would include the documentation in the source tarball, and then it could simply be installed from the source without needing to be compiled using LyX (WITH_DOC_BUILD=0). The whole latex+lyx toolchain is huge and shouldn't be necessary for a new user. There are also version issues with LyX as you have seen, making things more difficult/annoying. > Packaging ascend for Debian would also be nice in my opinion. This is done, to some extent. See here: http://ascend4.org/Dtar What I *would* like to see would be a PPA that builds ASCEND reliably for Ubuntu :-) > For other tasks also check out what has be done last year for GSOC2015: > https://www.google-melange.com/gsoc/org2/google/gsoc2015/ascend > > Adrian has for example worked on the GTK+3 support: > https://www.google-melange.com/gsoc/project/details/google/gsoc2015/dragon7/5724160613416960 > > To get a hang of FPROPS check out the code repository: > http://code.ascend4.org/ascend/trunk/models/johnpye/fprops/ > and try to understand it...takes some time to digest and the theory how > the thermodynamic properties are calculated is also quite a steep > learning curve (don't give up!). Try to figure out how FPROPS is > structured and how the data is stored in the fluids folder and how the > data is accessed. Definitely agree -- quite a bit of mathematics behind all these thermodynamic properties. For a minimal primer, I suggest Cengel & Boles "Thermodynamics, An Engineering Approach", chapters 3 and 12. > Regarding the GSOC2016 application: I followed GSOC2015 and was quite > amazed of the quality of the applications. If you are very serious about > applying for the ascend project then try finding a task as soon as > possible and start working on it. Also start with writing down your > task, the theory, the step stones, some code examples you have been > working on for it and put it all in one document. Make it look like a > paper and prove you're applying a scientific approach to your task. > Also ask yourself if you really have time for it since you receive money > and the workload can be quite much if you're a newbie to programming > with C/Python/GTK+ and/or Ascend. As I can speak of myself: Working with > Ascend is very rewarding. You learn in depth how a application for > chemical engineering can look like and works. > > I'm only a contributor to Ascend so please don't take this email as an > official or as a cast in stone statement. Thanks Mark! Cheers JP ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval _______________________________________________ Ascend-sim-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

