Message boards : Number crunching : Atlas/Theory native in prefs - Run native if available?
Message board moderation

To post messages, you must log in.

AuthorMessage
maeax

Send message
Joined: 2 May 07
Posts: 2071
Credit: 156,084,284
RAC: 104,872
Message 43480 - Posted: 8 Oct 2020, 7:38:57 UTC

I am going to move this discussion to the number crunching topic as it affects all apps.

@Laurence

When native in prefs for Atlas and Theory is active, getting no Tasks in Windows (default,home,school,work).
ID: 43480 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2386
Credit: 222,894,316
RAC: 138,096
Message 43481 - Posted: 8 Oct 2020, 9:44:30 UTC - in response to Message 43480.  

I agree.
The server should check if the client is running Windows or Linux.


In case of Windows:
Ignore "Run native if available?" and send vbox tasks.

In case of Linux and if only a vbox app is available (CMS):
Ignore "Run native if available?" and send vbox tasks.

In case of Linux and if both variants are available (Theory, ATLAS):
If "Run native if available?" is set send only native tasks.



The text at the prefs page might be modified:
now
Run native if available?

suggestion
On Linux hosts: Run native if available.
ID: 43481 · Report as offensive     Reply Quote
maeax

Send message
Joined: 2 May 07
Posts: 2071
Credit: 156,084,284
RAC: 104,872
Message 43482 - Posted: 8 Oct 2020, 10:00:52 UTC - in response to Message 43481.  

Sorry,
the copied answer was from Laurence.

Have for example Linux-VM AND Windows.
There are only THREE possibilitions (home,work and school).

The prefs need to be modified.

In Windows.... no Tasks are avalaible OR in Linux-VM.... no Tasks are avalaible,
Both (native or no native) is not possible in one location (home, work, school)

It is for both Atlas AND Theory, not for CMS, there is no native possible.
ID: 43482 · Report as offensive     Reply Quote
Henry Nebrensky

Send message
Joined: 13 Jul 05
Posts: 165
Credit: 14,925,288
RAC: 34
Message 43483 - Posted: 8 Oct 2020, 10:29:10 UTC - in response to Message 43481.  
Last modified: 8 Oct 2020, 10:29:28 UTC

I agree.
The server should check if the client is running Windows or Linux.
Couldn't this also be solved simply by making native tasks require Linux as the OS? Then there shouldn't be native tasks "available" to a Windows client in the first place...
ID: 43483 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2386
Credit: 222,894,316
RAC: 138,096
Message 43484 - Posted: 8 Oct 2020, 11:05:42 UTC - in response to Message 43483.  

I agree.
The server should check if the client is running Windows or Linux.
Couldn't this also be solved simply by making native tasks require Linux as the OS? Then there shouldn't be native tasks "available" to a Windows client in the first place...

That's exactly what I mean with "The server should check ...".
The client OS is known to the server and "native" could (and should) be ignored server side if a Windows client requests work.



It's a bit more complex in case of a Linux client.
- Theory and ATLAS provide both variants, vbox and native.
- CMS doesn't have a native app, hence no choice -> always vbox.

Even if the "native" flag is set a Linux client should get CMS vbox (if CMS is selected, of course).
A Linux client should not get Theory/ATLAS vbox tasks if the "native" flag is set.

This way you wouldn't need extra venues.



Since native requires a correctly configured local CVMFS client it should not be set as default pref.
ID: 43484 · Report as offensive     Reply Quote

Message boards : Number crunching : Atlas/Theory native in prefs - Run native if available?


©2024 CERN