Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.6K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

FeynRules and Wolfram Cloud Compatibility Inquiry

Posted 2 years ago

Dear Community Members,

I'm seeking clarification on Wolfram Cloud's support for external packages like FeynRules and FeynArts. I need to teach lectures on particle physics model creation and would like to provide access to these tools via the Wolfram Cloud for all my students, regardless of their Mathematica access. Is this feasible?

I've tested the xAct package on the platform, and it seems to work for basic tasks. Any information or guidance is greatly appreciated.

Thank you in advance!

Best regards,
Esteban Chalbaud

POSTED BY: Esteban Chalbaud
Posted 9 days ago

Steps for Deployment in the Wolfram Cloud

Here is a general workflow you could follow to make these packages available for your students:

A. Obtain the Package Files:

Download the necessary files for FeynRules and FeynArts (and any required dependencies) from their respective project websites.

https://cp3.irmp.ucl.ac.be/projects/feynrules/wiki

https://feynarts.de/

B. Upload to Your Wolfram Cloud:

Log into the Wolfram Cloud and navigate to your Files section.

Upload the package files (or the containing folder) to a designated folder, such as "/Packages/FeynRules/".

C. Use Get or Needs with Cloud Pathing:

In a Wolfram Cloud Notebook (which your students will access), you will need to load the package using an absolute cloud path, or use Get or Needs after setting up the appropriate FileNameJoin path.

You can use SetDirectory or PrependTo[$Path, ...] to simplify the loading. For a cloud-deployed package, the most direct approach is often:

CloudGet["CloudObject[\"~/Packages/FeynRules/FeynRules.m\"]"] Needs["FeynRules`"]

D. Manage Permissions (Crucial for Teaching):

To allow students to access the package without having their own licensed copy of desktop Mathematica, you must ensure the package is loaded within a notebook that is shared with them, or deploy the functionality as a Cloud API or Form.

The simplest method is to publish the cloud notebook containing the necessary Needs or Get commands and all student work as a Shared asset to your class group, allowing them to open and run it within their own Cloud session.

E. Sharing and Collaboration Workflows

Collaboration and Sharing with Mathematica Online is a video that gives a general overview of using the Wolfram Cloud for sharing and teaching.

POSTED BY: Rob Pacey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard