Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5483f29b authored by Adrien Leman's avatar Adrien Leman Committed by hhakim
Browse files

doc faust

parent 443e49d4
No related branches found
No related tags found
No related merge requests found
##################################################################
############## README : run nightly faust project ################
############## README : Continuous Integration ##############
############## of the FAuST project ##############
##################################################################
This tool aims to launch automatically a shell-bash SCRIPT :
##################################################################
############## CDASH ##############
##################################################################
The Continuous Integration for the project FAUST is based on the CDASH tool (see. http://www.cdash.org/)
The building and test are available on the public link:
http://cdash.inria.fr/CDash/index.php?project=faust
CDASH is configured in the Cmakefile.txt files.
CDASH is deployed on the CI inria platform. For that you must have an login on ci inria.
Then go to the https://ci.inria.fr/project/faust/show to manage the CI:
In slave, you can add/modify the virtual Machine (linux mac, windows).
If you want to get more actions / information on slaves (add a disk, create a template, etc.), you can access CloudStack using the same credentials as the CI portal. The Domain must be ci/faust. CloudStack
https://sesi-cloud-ctl1.inria.fr/client/
https://ci.inria.fr/
connect to CI of inria:
https://ci.inria.fr/project/faust/ to manage your virtual machine.
This tool aims to launch automatically a shell-bash SCRIPT on a machine (local, or virtual ...) :
1- First at all, please chek out only the files presents in
following directory : devcpp/test/CTest_nightly
following directory : devcpp/misc/CTest_nightly
svn checkout --username XXX https://scm.gforge.inria.fr/authscm/XXX/svn/faust/trunk/devcpp/misc/CTest_nightly/ ./
2- Configure your personnal run shell "run_nightly_PLATFORM.sh" with corresponding export of library and PATH used.
2- Create and Configure your personnal run script (".sh" for Unix and ".bat" for Windows) "run_nightly_PLATFORM.sh" with corresponding configuration. (see existing run_nighlty_X.sh files for more informations)
3- configure the "crontab" tool for UNIX or shulder for windows
3- configure the "crontab" tool for UNIX or "shulder" tool for windows
crontab -e :
example :
# Run all day at 14h35 the nightly test and put results on CDASH
......@@ -18,9 +44,10 @@ This tool aims to launch automatically a shell-bash SCRIPT :
35 14 * * * /home/aleman/WORK/FAUST/faust_nightly/run_nightly_XXX.sh
# run all day and send a mail
40 11 * * * /Users/ci/CTest_nightly/run_nightly_OS-X.sh 2>&1| mail -s "Cron job execution" leman.adrien@gmail.com
40 11 * * * /Users/ci/CTest_nightly/run_nightly_OS-X.sh 2>&1| mail -s "Cron job execution" youremail@inria.fr
##
4- You have the possibility to set the time of the precedent svn in the file
CTestConfig.cmake
......@@ -38,3 +65,91 @@ To select the ctest mode, change the files faustTest.cmake to
CTEST_START("Continuous")
##################################################################
##################### Acces to the virtual machine
##################################################################
cf. https://ci.inria.fr/project/faust/slaves --> onget connect
Windows :
- Windows MinGW Openblas:
$ ssh <login>@ci-ssh.inria.fr -L 3380:Windows-MinGW:3389
- VM windowsTWO 7: MinGW without Openblas
Password of new VM windowsTWO is bF8brkgqs
1 - Create an SSH tunnel
$ ssh <login>@ci-ssh.inria.fr -L 3380:windowsTWO:3389
2- Open graphical interface :
$ rdesktop -k fr -g 90% -u ci -p ci 127.0.0.1:3380
- Password of new VM faust-windows7VisualStudio is yX4arrrub
Password has been reset to xH8cteihd
1-
$ ssh <login>@ci-ssh.inria.fr -L 3380:faust-windows7VisualStudio:3389
2-
$ rdesktop -k fr -g 90% -u ci -p ci 127.0.0.1:3380
MAC:
1-
$ ssh ci@mac.ci
2-
Password of new VM faust-mac-copy is mD4pszrtb
$ ssh ci@faust-mac-copy.ci
3-
$ ssh ci@MAC-Xcode.ci
LINUX:
pour machine virtuelle unbuntu
$ ssh -X ci@faust-ubuntu14.ci
ci@faust-ubuntu14.ci's password: ci
$ ssh ci@faust-ubuntu-Copy.ci
password: ci
######################################################################################""
Pour ajouter un data disk sur les machine virtuelles :
1- https://sesi-cloud-ctl1.inria.fr pour ajouter un volume à l'instance
2- stop and restart
3- mount the volume
In case of UNIX platform :
lsblk --> list les disk et les partitions correspondantes
admin@mariadb:~$ sudo mkfs.ext4 /dev/vda
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
admin@mariadb:~$ sudo mkdir /mnt/database
admin@mariadb:~$ sudo mount /dev/vda /mnt/database/
admin@mariadb:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 158G 1.1G 150G 1% /
/dev/vdb 9.7T 38M 9.3T 1% /mnt/database
In case of Windows platform : disk managment option.
https://wiki.inria.fr/ciportal/FAQ#
I_added_an_extra_hard_drive_to_the_VM_but_it_is_not_detected_by_the_OS
il faut installer les drivers scsi via I added an extra hard drive to the VM but it is not detected by the OS
You may have a problem with the SCSI driver.
go to the device manager (Right click on My Computer -> Manage -> Device Manager)
select the SCSI controller
install the latest viostor driver from Redhad (https://fedoraproject.org/wiki/Windows_Virtio_Drivers#Direct_download). Be careful to select the right driver (windows version & architecture) or windows will crash very badly (do not even use automatic detection, select the driver manually from the right folder).
##################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment