Least Action

Nontrivializing triviality..and vice versa.

FeynArts on Mathematica in Windows

with 2 comments

As much as I hate to admit it, some of us are constrained to use Mathematica on Windows for some reason or the other. If you happen to be part of this ‘some of us’ subset (at least temporarily, in my case) and are eager to get your hands on FeynArts, a nifty package for Mathematica which lets you make and play with Feynman diagrams, you’re going to have some trouble installing it on the current version of Mathematica. If you are using Windows, I suggest downloading the tarball and unzipping its contents to:

C:\Users\<your Windows user name>\AppData\Roaming\Mathematica\Applications\

The important thing to note is that the tarball actually unpacks into a new directory (FeynArts-3.5 for now). You need to ensure that the contents of this directory are placed in the above directory, so that FeynArts-3.5 is not a subfolder of the above folder. In short, this is what my folder looks like:

The next step is to fire up Mathematica and select “Install” from the File Menu.  Select “Package” under the “Type of item to Install” tab and navigate to the above directory using the “File” option under the Source tab. Select FeynArts35.m and type “FeynArts” in the Install Name field. Finally, under “Default Installation Directory”, check “Your user Mathematica base directory”.

This last step is important: if you check the “System-wide Mathematica base directory” option, you’ll end up with the $FeynArtsDir variable pointing to “C:\Program Files\Wolfram Research\Mathematica\7.0\AddOns\Applications”. In this case, FeynArts will work only if you dump the contents of “C:\Users\<your Windows user name>\AppData\Roaming\Mathematica\Applications\” into “C:\Program Files\Wolfram Research\Mathematica\7.0\AddOns\Applications”, something you shouldn’t do as this makes the Application folder messy.

A workaround should be to change the Directory[] variable in Setup.m for FeynArts, to point to the folder of your choice. I tried this, but ran into other path-related problems. Anyway, so long as it works, who cares!

Advertisements

Written by Vivek

October 15, 2010 at 19:08

2 Responses

Subscribe to comments with RSS.

  1. If you install FeynCalc on your PC, an automatic prompt will ask you to install the FeynArts package as well. Moreover, it will also do the patching required for interoperation of both packages.

    JR

    May 28, 2017 at 03:41

    • Hi. This is a very old blog post. It is natural that things might have changed since I wrote it. I don’t have any immediate plans of updating it, but if in future I end up using FeynCalc on Windows, I’ll definitely keep your comment in mind. Thanks!

      Vivek

      May 28, 2017 at 06:13


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: