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: 2276
Credit: 177,235,692
RAC: 87,414
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: 2678
Credit: 286,460,965
RAC: 126,091
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: 2276
Credit: 177,235,692
RAC: 87,414
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: 170
Credit: 15,020,549
RAC: 48
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: 2678
Credit: 286,460,965
RAC: 126,091
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
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 124
Credit: 10,716,130
RAC: 12,038
Message 52152 - Posted: 29 Aug 2025, 14:26:39 UTC - in response to Message 43484.  

Given Theory is vbox only now will the client still get vbox theory tasks if "Use native if avalaible" is selected or will it still only get CMS vbox tasks when enabled?
ID: 52152 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2678
Credit: 286,460,965
RAC: 126,091
Message 52156 - Posted: 29 Aug 2025, 16:32:23 UTC - in response to Message 52152.  

Windows computers don't get any tasks if "Use native if available" is enabled.
Linux computers get native as well as vbox64 - it depends which tasks are next in the server queue.

If you have Windows as well as Linux and if you want to get native tasks on Linux you must use different venues, like.
home: Windows
school: Linux
ID: 52156 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 124
Credit: 10,716,130
RAC: 12,038
Message 52158 - Posted: 29 Aug 2025, 17:46:38 UTC - in response to Message 52156.  
Last modified: 29 Aug 2025, 17:47:17 UTC

Only running it on a Linux box at the moment until I can sort out the Windows box, use native is enabled, was wondering if it would also do vbox theory as well as CMS, I have different profiles setup for Windows and Linux machines in my preferences.
Good to know it will do native Atlas and Vbox Theory on the Linux box.
ID: 52158 · Report as offensive     Reply Quote
Saturn911

Send message
Joined: 3 Nov 12
Posts: 75
Credit: 169,995,321
RAC: 87,819
Message 52160 - Posted: 29 Aug 2025, 18:19:37 UTC - in response to Message 52158.  


Good to know it will do native Atlas and Vbox Theory on the Linux box.


It will not as far as I know.

On a linux box and nativ is checked:
You will get Atlas-native and vbox-cms but no theory tasks because theory-nativ has been discontinued

On a linux box and nativ is unchecked:
You will get vbox-atlas, vbox-theory and vbox-cms
ID: 52160 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 124
Credit: 10,716,130
RAC: 12,038
Message 52162 - Posted: 29 Aug 2025, 19:16:21 UTC - in response to Message 52160.  

Ah that sucks, wonder why CMS vbox will work but theory Vbox wont?
Is there much of a hit from running Atlas vbox than native?
ID: 52162 · Report as offensive     Reply Quote
Saturn911

Send message
Joined: 3 Nov 12
Posts: 75
Credit: 169,995,321
RAC: 87,819
Message 52165 - Posted: 29 Aug 2025, 19:46:05 UTC - in response to Message 52162.  

For me atlas-native is running faster then vbox and consumes less memory.
In addition, no errors for about two weeks.
I miss the theory-native. For linux, runc container was a good solution.
ID: 52165 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 124
Credit: 10,716,130
RAC: 12,038
Message 52174 - Posted: 3 Sep 2025, 10:13:04 UTC - in response to Message 52165.  

Yea for now ill jsut run Atlas native and CMS vbox, if these ever run out ill manually switch to vbox only to get some theory.
ID: 52174 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 124
Credit: 10,716,130
RAC: 12,038
Message 52205 - Posted: 6 Sep 2025, 17:18:44 UTC

I am getting Theory Vbox alongside Altas native now for whatever reason, nice!
ID: 52205 · Report as offensive     Reply Quote

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


©2025 CERN