FAQ

Is there an example? generally yes most assignemnts have a runable example called "example1" or "example2" when you copy over all the files you start with there will be runable examples for the vast majority of labs and homework assignments you will generally want to emulate the behaviour of the example If the description does not match the example email me and ask. the example is more likely to represent what I am expecting sometimes i miss updating the description when i make a change to the examples ------------------------------------------ Can I work on my code on my computer at home? yes. You can work on your code on another linux machine or windows using whatever your favorite IDE is. The assignment must compile and run on ODIN in proper directory it should be a matter of typing "make; ./runme" to get it to run as this is how it will be tested if you want to copy the files for a homework or lab to your local computer and work on it there I would suggest you cd into the proper directory in your assignemnts directory, copy the files provided for you there try to make the program so that the additional files like easylogging++.h , easylogging++.cpp , cmpslib19.h and so on will be copied into your directory then you can use an sftp program to copy the files to your local computer and work on it. then upload the completed files back to ODIN the runable examples will likely not work on your local machine unless your environment is not a linux version close enough to ODIN so run them on ODIN to see the desired behavior ------------------------------------------- when I start vi it keeps asking me if I want to edit or restore a file, what do I do? select restore, then exit normaly. issue "ls -lah" you should see a file with a similar name that starts with . and ends in .swp or .swo or some thing similar. delete these files ------------------------------------- Disk quota exceeded revised 8/27/21 each user on Sleipnir has their own disk space and a quota that limits thier avaialble space this is currently 500Megs if you get the above error you will want to delete any old executables, object files or log files. If you are repeatly getting a huge log file you may want to check that your program does not have an infinfite loop note: to see large files try something like ( 5 largest ) du -a ~ | sort -n -r | head -n 5 or // find files larger than 50megs find ~ -type f -size +50M If you are using VSCode enabling extentsion can use up your disk space fast to see how much space you are using du -sh ~/.vscode-server/ mine was close to 500 megs when I created it, but I delted it and restarted it and it was re created an was only 150 megs so I would suggest you delete your vscode-server directory when you start VSCode after you will not see any extensions installed at the server. You should not need any to be able to edit your files to remove your vscode-server directory rm -rf ~/.vscode-server ------------------------------------- the list of errors from the compiler is super long and i cant see the start if you do something like this make 2> temp.txt the output from the complier will be written to the file tmp.txt you can then open this file in vi to find the first error. ------------------------------------- file paths homework files that I provide for you /home/fac/msarr/public_files/cmps2020/lab/lab01/ /home/fac/msarr/public_files/cmps2020/lab/lab02/ and so on homework files that I provide for you /home/fac/msarr/public_html/cmps2020/hw/hw01/ /home/fac/msarr/public_html/cmps2020/hw/hw02/ lecture examples /home/fac/msarr/public_html/cmps2020/lab/lab01/lec/code/ /home/fac/msarr/public_html/cmps2020/lab/lab02/lec/code/