← Back to team overview

yade-users team mailing list archive

Re: Compiling during a calculation

 

Ok that's indeed quite logic so, thanks !

>> Hello everybody. I wonder what would happen if I would compile changes 
>> in source files while some calculations are running. Does this affect 
>> the current calculations or not ?
>>   
>>     
> It will not. Plugins are already loaded (in kernel speak, they are
> mmap'ed) and if you overwrite the file with new version, Linux is smart
> enough to keep the overwritten version in memory, because it is mmap'ed
> into the memory space of a program running. When you run yade again,
> however, it will use plugins as they are on disk, i.e. the new ones.
>
> For the same reason you can upgrade your packages while the system is
> running.
>
> Vaclav
>
> _______________________________________________
> Yade-users mailing list
> Yade-users@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/yade-users
>
>   
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users



References