Forum

Author Topic: Metashape Network Processing - Arguments and Definitions  (Read 7214 times)

RVC-Juan

  • Newbie
  • *
  • Posts: 13
    • View Profile
Metashape Network Processing - Arguments and Definitions
« on: February 28, 2023, 06:27:36 PM »
Hi there,

Does anyone have a full list of all the available network processing arguments and a short description of each?

The basics are covered in the manual but I have un-earthed a great number of other arguments such as --inprocess that would have been of great use to me upon originally setting up my business' network.

Makes me think there are way more out there I don't know!

Kind regards,

Juan

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15710
    • View Profile
Re: Metashape Network Processing - Arguments and Definitions
« Reply #1 on: March 02, 2023, 07:42:46 PM »
Hello Juan,

You can call "metashape --help" in the OS terminal to get the list of available command line arguments. For example, lines related to the network processing:
Quote
  Network processing options:
       --root <path>                         network data storage root
       --server                              start scheduling server
       --node                                start processing node
       --host <hostname>[:port]              network address of the server
       --master <hostname>[:port]            address of the master server to replicate
       --web <hostname>[:port]               web server address
       --inprocess                           perform processing in the main node process
       --verbose                             print network messages
       --service {install,remove,start,stop} configure Windows service
       --service-name <name>                 optional Windows service name
  Network server options:
       --scheduling {parallel,sequential}    batch scheduling mode
  Network node options:
       --priority <priority>                 specify network node priority
       --capability {cpu,gpu,any}            specify network node capability
       --timestamp                           append timestamp to output messages
       --gpu-mask <mask>                     set GPU device mask
       --cpu-enable {0,1}                    enable CPU when GPU is active
Best regards,
Alexey Pasumansky,
Agisoft LLC

rneissl

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Metashape Network Processing - Arguments and Definitions
« Reply #2 on: March 09, 2023, 04:36:25 PM »
Hallo Alexey,

is there also a way to switch the graphics cards to OpenCL on Network Processing? We face always a lot of troubles with the default Cuda settings on every update.

Kind regards,
Roland

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15710
    • View Profile
Re: Metashape Network Processing - Arguments and Definitions
« Reply #3 on: March 09, 2023, 04:53:03 PM »
Hello Roland,

I have suggested an approach with .conf file modification in another thread: https://www.agisoft.com/forum/index.php?topic=15239.msg66712#msg66712

Alternative way would be to run the script (for example, from the command line before starting Metashape as a node) with the following content on the node, where CUDA should be switched to OpenCL:

Code: [Select]
import Metashape
Metashape.app.settings.setValue("main/gpu_enable_cuda", "false")
The script will modify the setting in .conf file.
Best regards,
Alexey Pasumansky,
Agisoft LLC